diff options
| author | Alex M. M <[email protected]> | 2018-06-17 20:52:49 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-06-17 20:52:49 +0200 |
| commit | 93f453b07b9e8f813e6bfb0ddd2648a8e626d136 (patch) | |
| tree | e041f33d2eb0d789bc3641b3a19222db99062425 /src/framework | |
| parent | Force `find(_n)` to be quote aware (diff) | |
| download | serenity-93f453b07b9e8f813e6bfb0ddd2648a8e626d136.tar.xz serenity-93f453b07b9e8f813e6bfb0ddd2648a8e626d136.zip | |
Revert the OR back to the AND
I'm an idiot.
Diffstat (limited to 'src/framework')
| -rw-r--r-- | src/framework/standard/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<DispatchError> { - 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) |