feat(settings): support toggling disabled commands and auto-reload bot on save

This commit is contained in:
syntaxbullet
2026-01-08 22:44:48 +01:00
parent c6fd23b5fa
commit 9caa95a0d8
4 changed files with 15 additions and 3 deletions

View File

@@ -61,7 +61,8 @@ mock.module("../../bot/lib/BotClient", () => ({
},
commands: [
{ data: { name: "ping" } }
]
],
knownCommands: new Set(["ping", "help", "disabled-cmd"])
}
}));