Skip to content

How to add slash command dynamically? #2467

Closed Answered by Icebluewolf
Leboweeb asked this question in Q&A
Discussion options

You must be logged in to vote

You will need to use Bot.sync_commands passing the list of new commands. It should be noted that there is a ratelimit of 200 command registers per day. It is also possible that you want to be using guild commands. This will allow only people in the guild to use the new command (so that it can be custom per guild) and has a separate ratelimit of 200 per guild per day.

If you would like you can also join our support Discord server

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChickenDevs
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