diff options
| author | 2020-05-22 08:35:03 +0300 | |
|---|---|---|
| committer | 2020-05-22 08:35:03 +0300 | |
| commit | b3619949a17ba40a3b1f6364cf83464275717283 (patch) | |
| tree | 3a811e1e7b01d085fde0901ef71abb4a5a8170c8 | |
| parent | Stats: Fix docstrings (diff) | |
Eval Stats: Replaced `elif` with `else` on icon check
Co-authored-by: Mark <[email protected]>
| -rw-r--r-- | bot/cogs/snekbox.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/snekbox.py b/bot/cogs/snekbox.py index efff6d815..e2e55e7ca 100644 --- a/bot/cogs/snekbox.py +++ b/bot/cogs/snekbox.py @@ -208,7 +208,7 @@ class Snekbox(Cog): # Collect stats of eval fails + successes if icon == ":x:": self.bot.stats.incr("snekbox.python.fail") - elif icon in (":warning:", ":white_check_mark:"): + else: self.bot.stats.incr("snekbox.python.success") response = await ctx.send(msg) |