Skip to content

How to discover the guild instead of implicitly setting it in code #2168

Answered by tsal
tsal asked this question in Q&A
Discussion options

You must be logged in to vote

.. 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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@arqunis
Comment options

@tsal
Comment options

Answer selected by tsal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants