Skip to content

Commit 17e47eb

Browse files
authored
Merge pull request #191 from tjjfvi/dont-help-bots
Don't help the bots
2 parents 59f380b + eccdc16 commit 17e47eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/helpthread.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export class HelpThreadModule extends Module {
9191
@listener({ event: 'messageCreate' })
9292
async onNewQuestion(msg: Message) {
9393
if (!isHelpChannel(msg.channel)) return;
94-
if (msg.author.id === this.client.user!.id) return;
94+
if (msg.author.bot) return;
9595
console.log(
9696
'Received new question from',
9797
msg.author,

0 commit comments

Comments
 (0)