sapphire-support
Root Question Message
ApplicationCommandRegistry[report] Failed to update command Banish (<id>) DiscordAPIError[40041]: An application command with that name already exists
registry.registerContextMenuCommand(
{
name: "Banish",
type: ApplicationCommandType.Message,
},
{
guildIds: Constants.GUILD_IDS,
}
);
ApplicationCommandRegistry[banish] Successfully created message context menu guild command "Banish" with id "<id>". You should add the id to the "idHints" property of the register method you used!
ApplicationCommandRegistry[report] Successfully created message context menu guild command "Report" with id "<id>". You should add the id to the "idHints" property of the register method you used!
ApplicationCommandRegistry[report] Failed to update command Banish (<id>) DiscordAPIError[40041]: An application command with that name already exists
registry.registerContextMenuCommand(
{
name: "Banish",
type: ApplicationCommandType.Message,
},
{
guildIds: ["<id>"],
}
);
registry.registerContextMenuCommand(
{
name: "Report",
type: ApplicationCommandType.Message,
},
{
guildIds: ["<id>"],
}
);
ApplicationCommandRegistry[banish] Successfully created message context menu guild command "Banish" with id "<id>". You should add the id to the "idHints" property of the register method you used!
ApplicationCommandRegistry[report] Successfully created message context menu guild command "Report" with id "<id>". You should add the id to the "idHints" property of the register method you used!
registry.registerContextMenuCommand(
{
name: "Banish",
type: ApplicationCommandType.Message,
},
{
guildIds: ["<id>"],
idHints: ["<id>"],
}
);
registry.registerContextMenuCommand(
{
name: "Report",
type: ApplicationCommandType.Message,
},
{
guildIds: ["<id>"],
idHints: ["<id>"],
}
);
ApplicationCommandRegistry[report] Failed to update command Banish (<id>) DiscordAPIError[40041]: An application command with that name already exists
ApplicationCommandRegistry[report]
but the error is actually to do with the Banish context menu.npm install @sapphire/framework@pr-590