Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slash commands not working #101

Closed
stijnieboy150 opened this issue May 8, 2024 · 1 comment
Closed

slash commands not working #101

stijnieboy150 opened this issue May 8, 2024 · 1 comment
Assignees
Labels
invalid This doesn't seem right

Comments

@stijnieboy150
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Given the following code ...
  2. Using the following command '...'
  3. Given the following arguments '...'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Template Version
The version of the template that you are using.

Additional context
Add any other context about the problem here.

@kkrypt0nn
Copy link
Owner

Please read the FAQ first:

If slash commands are not showing up upon the first start of the bot this is perfectly normal behavior. You will need to synchronize them. You can easily do so by sending the following message in a channel your bot can read messages in

@Bot sync <guild/global>

Of course @Bot is you mentioning your actual bot.

  • If you use sync guild the slash commands will only be available in the current guild where you've executed the command - this is perfect for testing your commands.

  • If you use sync global the slash commands will be available in all guilds across all servers your bot is in - ideally you'd do that once you are sure the commands are working and you want to make them globally available.

https://github.com/kkrypt0nn/Python-Discord-Bot-Template/wiki/Frequently-Asked-Questions#slash-commands-are-not-showing-up

@kkrypt0nn kkrypt0nn self-assigned this May 8, 2024
@kkrypt0nn kkrypt0nn added the invalid This doesn't seem right label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants