1 parent 557e177 commit 43807e8Copy full SHA for 43807e8
1 file changed
src/commands/ai.ts
@@ -42,7 +42,7 @@ export default async function (msg: Message): Promise<void> {
42
43
for (const key in commands) {
44
const cmd = commands[key];
45
- if (cmd.role === "user" && excludeAiCommands.includes(cmd.command)) {
+ if (cmd.role === "user" && !excludeAiCommands.includes(cmd.command)) {
46
prompt += `\n${cmd.command} - ${cmd.description}\n${cmd.usage}\n`;
47
}
48
0 commit comments