From 468cab72ffbdfa5d62b02eb4ee30280e952132ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20Bl=C3=B6meke?= Date: Mon, 17 Jun 2019 19:08:15 +0200 Subject: [PATCH] Include or check to see if the acted on member is the bot --- src/plugins/ZeppelinPlugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/ZeppelinPlugin.ts b/src/plugins/ZeppelinPlugin.ts index e55ebac0..d0b83cb2 100644 --- a/src/plugins/ZeppelinPlugin.ts +++ b/src/plugins/ZeppelinPlugin.ts @@ -17,7 +17,7 @@ export class ZeppelinPlugin extends Plug } protected canActOn(member1, member2) { - if (member1.id === member2.id) { + if (member1.id === member2.id || member2.id === this.bot.user.id) { return false; }