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 Registering? #63

Closed
TheCrafters001 opened this issue Jan 22, 2022 · 4 comments
Closed

Slash Commands Not Registering? #63

TheCrafters001 opened this issue Jan 22, 2022 · 4 comments
Labels
Type: Bug This is a bug report.

Comments

@TheCrafters001
Copy link

🐛 Describe the Bug

Slash commands for the bot are not appearing

✏️ Steps to Reproduce

Followed procedure (Updated from V3 to v4.0.2)

😕 Expected Behavior

Expected slash commands to work

📜 Log

The normal junk when starting the bot. Nothing about the user sending a command

📷 Screenshots

Paste a screenshot of the bug (if applicable).

❓ Other Information

  • Node Version: 16.13.2
@TheCrafters001 TheCrafters001 added the Type: Bug This is a bug report. label Jan 22, 2022
@moonstar-x
Copy link
Owner

moonstar-x commented Jan 22, 2022

Hey, have you ran npm run deploy before doing the start?

Also, this has been happening to some poeple, try re-inviting your bot to your server but use the generated URL from the Oauth2 URL Generator page in the developer application portal.

Make sure you choose the bot and application.commands scopes and the correct permissions as they're described in the README.

I'm a bit mad that this is happening, it seems like the transition to slash commands isn't really that smooth because of all these new requirements (having to deploy the commands, and having to enable the application.commands scope).

@moonstar-x
Copy link
Owner

Let me know if the above solution helps you.

@TheCrafters001
Copy link
Author

Ah, I forgot to re-invite it with the application.commands scope. My bad. It works now.

@moonstar-x
Copy link
Owner

Nice,

I'm going to pin this issue for anyone that comes across this.

@moonstar-x moonstar-x pinned this issue Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug This is a bug report.
Projects
None yet
Development

No branches or pull requests

2 participants