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

Discords accounts with other applications/bots : Failed to get application_commands for command imagine #258

Open
morganfuchs opened this issue Feb 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@morganfuchs
Copy link

the code that reproduces this issue or a replay of the bug

/imagine command with discord account which have other application/bot

Describe the bug

Why can't anyone push updates without breaking everything?

On Discords accounts that have other applications/bots added, the following command does not retrieve the /imagine...

const url = ${this.config.DiscordBaseUrl}/api/v9/guilds/${this.config.ServerId}/application-command-index;

Examples of errors :
========= { command: { id: '1033500197713608784', type: 1, application_id: '402528814548254720', version: '1033500197713608786', name: 'subscribe', description: 'Subscribe to patch notes for your favorite games, or be notified of free games', default_member_permissions: '40', integration_types: [ 0 ], global_popularity_rank: 3 } }

========= { command: { id: '1136233128848015360', type: 1, application_id: '986338748813934642', version: '1136233128848015361', name: 'help', description: 'Get help information for the bot', options: [ [Object] ], integration_types: [ 0 ], global_popularity_rank: 20 } }

Old version :
const url =${this.config.DiscordBaseUrl}/api/v9/channels/${this.config.ChannelId}/application-commands/search?${searchParams};

Commands are no longer filtered by application!

Thanks, have a nice day

error log

Failed to get application_commands for command imagine

@morganfuchs morganfuchs added the bug Something isn't working label Feb 28, 2024
@morganfuchs morganfuchs changed the title ${searchParams} Discords accounts with other applications/bots : Failed to get application_commands for command imagine Feb 28, 2024
@Slushbanq
Copy link

Slushbanq commented Mar 10, 2024

Same error. Any fixes from your end?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants