Skip to content

Commit 43807e8

Browse files
authored
fix: update ai.ts
1 parent 557e177 commit 43807e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/commands/ai.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default async function (msg: Message): Promise<void> {
4242

4343
for (const key in commands) {
4444
const cmd = commands[key];
45-
if (cmd.role === "user" && excludeAiCommands.includes(cmd.command)) {
45+
if (cmd.role === "user" && !excludeAiCommands.includes(cmd.command)) {
4646
prompt += `\n${cmd.command} - ${cmd.description}\n${cmd.usage}\n`;
4747
}
4848
}

0 commit comments

Comments
 (0)