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

/register_commands endpoint only registers commands for one guild #5

Open
GabeeCoding opened this issue Nov 13, 2022 · 0 comments
Open

Comments

@GabeeCoding
Copy link

let discord_response = await discord_api.put(
      `/applications/${APPLICATION_ID}/guilds/${GUILD_ID}/commands`,
      slash_commands
)

This endpoint only registers commands for one singular guild, should it not be changed to update the commands globally for bots that are meant to be used in multiple servers?
The endpoint for registering commands for all guilds (globally) is /applications/{application.id}/commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant