mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 23:14:31 +00:00
fix(discord): avoid native plugin command collisions
This commit is contained in:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user