You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
morganfuchs
changed the title
${searchParams}
Discords accounts with other applications/bots : Failed to get application_commands for command imagine
Feb 28, 2024
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
The text was updated successfully, but these errors were encountered: