We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 59f380b + eccdc16 commit 17e47ebCopy full SHA for 17e47eb
src/modules/helpthread.ts
@@ -91,7 +91,7 @@ export class HelpThreadModule extends Module {
91
@listener({ event: 'messageCreate' })
92
async onNewQuestion(msg: Message) {
93
if (!isHelpChannel(msg.channel)) return;
94
- if (msg.author.id === this.client.user!.id) return;
+ if (msg.author.bot) return;
95
console.log(
96
'Received new question from',
97
msg.author,
0 commit comments