fix(discord): avoid native plugin command collisions

This commit is contained in:
Peter Steinberger
2026-03-07 21:59:12 +00:00
parent 4dcd930923
commit be9ea991de
9 changed files with 77 additions and 9 deletions

View File

@@ -359,7 +359,7 @@ export const registerTelegramNativeCommands = ({
runtime.error?.(danger(issue.message));
}
const customCommands = customResolution.commands;
const pluginCommandSpecs = getPluginCommandSpecs();
const pluginCommandSpecs = getPluginCommandSpecs("telegram");
const existingCommands = new Set(
[
...nativeCommands.map((command) => normalizeTelegramCommandName(command.name)),