Remove auto-reply 'yes?'
This commit is contained in:
parent
c2974d02ef
commit
eb7012c432
1 changed files with 0 additions and 4 deletions
|
@ -53,10 +53,6 @@ bot.on('message', msg => {
|
||||||
if (msg.author === bot.user) {
|
if (msg.author === bot.user) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (msg.author !== bot.user && msg.mentions.has(bot.user)) {
|
|
||||||
msg.channel.send('yes?'); //using a mention here can lead to looping
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue