mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2025-01-03 18:05:41 +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',
|
initial_extensions = ['cogs.common',
|
||||||
'cogs.admin',
|
'cogs.admin',
|
||||||
'cogs.basic',
|
'cogs.basic',
|
||||||
|
"cogs.err",
|
||||||
'cogs.links',
|
'cogs.links',
|
||||||
'cogs.mod',
|
'cogs.mod',
|
||||||
'cogs.meme']
|
'cogs.meme']
|
||||||
|
|
|
@ -112,9 +112,9 @@ class Err:
|
||||||
# Send message, crazy
|
# Send message, crazy
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
|
|
||||||
# The Guessing Game of Hex (Could be both 3DS or Switch so we have to constantly assume :P)
|
# 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
|
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
|
# Most Switch Hex error should be detected by now so the chance that it's 3DS is much higher
|
||||||
derr = err.strip()
|
derr = err.strip()
|
||||||
|
|
Loading…
Reference in a new issue