Add err to autoboot

This commit is contained in:
tumGER 2018-12-23 17:23:05 +01:00
parent e2e7456b8f
commit b566f7b1e5
2 changed files with 3 additions and 2 deletions

View file

@ -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']

View file

@ -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()