midjourney-api
midjourney-api copied to clipboard
Discords accounts with other applications/bots : Failed to get application_commands for command imagine
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
Same error. Any fixes from your end?