From 93f453b07b9e8f813e6bfb0ddd2648a8e626d136 Mon Sep 17 00:00:00 2001 From: "Alex M. M" Date: Sun, 17 Jun 2018 20:52:49 +0200 Subject: Revert the OR back to the AND I'm an idiot. --- src/framework/standard/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/framework') diff --git a/src/framework/standard/mod.rs b/src/framework/standard/mod.rs index 8f24a85..c92e5ce 100644 --- a/src/framework/standard/mod.rs +++ b/src/framework/standard/mod.rs @@ -492,7 +492,7 @@ impl StandardFramework { to_check: &str, built: &str) -> Option { - if self.configuration.ignore_bots || message.author.bot { + if self.configuration.ignore_bots && message.author.bot { Some(DispatchError::IgnoredBot) } else if self.configuration.ignore_webhooks && message.webhook_id.is_some() { Some(DispatchError::WebhookAuthor) -- cgit v1.2.3