ignore messages from the discord bot itself
This commit is contained in:
parent
9af6386d48
commit
1a327b7f5e
@ -100,8 +100,8 @@ module.exports = class {
|
||||
});
|
||||
|
||||
this.client.on('message', msg => {
|
||||
if (msg.author.bot){
|
||||
// ignore other bots
|
||||
if (msg.author.bot.tag == this.client.user.tag){
|
||||
// ignore myself
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user