From b566f7b1e5af8da47ea7c54b74506761f2626668 Mon Sep 17 00:00:00 2001 From: tumGER <25822956+tumGER@users.noreply.github.com> Date: Sun, 23 Dec 2018 17:23:05 +0100 Subject: [PATCH] Add err to autoboot --- Robocop.py | 1 + cogs/err.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Robocop.py b/Robocop.py index a3fa067..09072c4 100755 --- a/Robocop.py +++ b/Robocop.py @@ -40,6 +40,7 @@ def get_prefix(bot, message): initial_extensions = ['cogs.common', 'cogs.admin', 'cogs.basic', + "cogs.err", 'cogs.links', 'cogs.mod', 'cogs.meme'] diff --git a/cogs/err.py b/cogs/err.py index 4d28b7a..4869c1c 100644 --- a/cogs/err.py +++ b/cogs/err.py @@ -112,9 +112,9 @@ class Err: # Send message, crazy await ctx.send(embed=embed) - + # The Guessing Game of Hex (Could be both 3DS or Switch so we have to constantly assume :P) - elif err.startwith("0x"): + elif err.startswith("0x"): err = err[2:] # Both work without the 0x # Most Switch Hex error should be detected by now so the chance that it's 3DS is much higher derr = err.strip()