mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-03 17:45:37 +00:00
Add err to autoboot
This commit is contained in:
parent
e2e7456b8f
commit
b566f7b1e5
|
@ -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']
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue