-
Hey all! I'm very new to Discord development, and a novice (in professional terms) with Rust, so bear with me if I've missed something obvious. The examples all seem to require a Guild ID to be set, but I do not want my bot limited to one guild. Is there a way to get that information from the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
.. I seem to have maybe found an answer in that I may be asking the wrong question or misunderstanding the example.. should I just loop through them all in EDIT: See below response from @acdenisSK - I missed that there is a global version of |
Beta Was this translation helpful? Give feedback.
.. I seem to have maybe found an answer in that I may be asking the wrong question or misunderstanding the example.. should I just loop through them all in
ready()
and register them for all available guilds? I don't want to get myself banned from the API, hence why I'm hesitating.EDIT: See below response from @acdenisSK - I missed that there is a global version of
set_application_commands
.