-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Kicking the bot from its dev guild and inviting it again drops the slash commands #10321
Comments
Also, this is why I'm asking how I can programatically reinitialize the bot to handle this edge case without using |
This is expected behaviour. Considering #10319 and this, it would be wiser for you to join the support server to receive help. Proficients in that server will escalate issues as needed. |
Lmao, this is totally a bug, but fine. |
There are two scopes you can deploy commands to: commands local to the guild and global commands:
Since you are using the |
First of all: thank you a lot for this very insightful answer. I understand that it is desirable to "Eject" slash commands as soon as they become pointless. However, I think that if they're "Ejected" automatically when they're no longer needed, then they should be "Plugged" again as soon as they're needed again. Simply because the current behaviour is very confusing for a user. It's pretty tricky to understand exactly where it's coming from in the first place, once you're confronted with this implicit "Eject" of slash commands. It can also be panic-inducing, because, next, you wonder what else you might have that would also be "Ejected" like this. Restarting the bot from scratch (and even more: by killing the process) because a user doesn't understand at all how to resume it properly at runtime is an aggressive solution. I understand that killing the process if it came to a state which is impossible to understand for me is a "straightforward" solution. But honestly, it doesn't make me happy at all to kill a whole process and restart it just because it came to a rabbit hole which is really hard to understand from a user perspective. I think there could be a simple solution to make these side effects a little more comfortable to work with. The best would be to make them as invisible as possible, as "For free" as possible. |
You seem to be conflating the two issues you opened in your message. |
Which package is this bug report for?
discord.js
Issue description
.login()
your discord.js client.Code sample
No response
Versions
discord.js: 14.15.3
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Not applicable
Which gateway intents are you subscribing to?
Not applicable
I have tested this issue on a development release
No response
The text was updated successfully, but these errors were encountered: