mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 12:05:36 +00:00
Merge branch 'master' of github.com:aveao/robocop-ng
This commit is contained in:
commit
d57f4b9db0
|
@ -102,6 +102,9 @@ class Err:
|
||||||
else:
|
else:
|
||||||
err_module = "Unknown"
|
err_module = "Unknown"
|
||||||
|
|
||||||
|
# Set initial value unconditionally
|
||||||
|
err_description = self.no_err_desc
|
||||||
|
|
||||||
# Searching for error codes related to the Switch
|
# Searching for error codes related to the Switch
|
||||||
# (doesn't include special cases)
|
# (doesn't include special cases)
|
||||||
if errcode in switch_known_errcodes:
|
if errcode in switch_known_errcodes:
|
||||||
|
@ -112,8 +115,6 @@ class Err:
|
||||||
for errcode_range in switch_known_errcode_ranges[module]:
|
for errcode_range in switch_known_errcode_ranges[module]:
|
||||||
if desc >= errcode_range[0] and desc <= errcode_range[1]:
|
if desc >= errcode_range[0] and desc <= errcode_range[1]:
|
||||||
err_description = errcode_range[2]
|
err_description = errcode_range[2]
|
||||||
else:
|
|
||||||
err_description = self.no_err_desc
|
|
||||||
|
|
||||||
# Make a nice Embed out of it
|
# Make a nice Embed out of it
|
||||||
embed = discord.Embed(title=f"{str_errcode} / {hex(errcode)}",
|
embed = discord.Embed(title=f"{str_errcode} / {hex(errcode)}",
|
||||||
|
|
|
@ -49,6 +49,14 @@ class Meme:
|
||||||
"""secret command"""
|
"""secret command"""
|
||||||
await ctx.send(f"🍂 you found me 🍂")
|
await ctx.send(f"🍂 you found me 🍂")
|
||||||
|
|
||||||
|
@commands.check(check_if_staff_or_ot)
|
||||||
|
@commands.command(hidden=True, aliases=["outstanding"])
|
||||||
|
async def outstandingmove(self, ctx):
|
||||||
|
"""Posts the outstanding move meme"""
|
||||||
|
await ctx.send("https://cdn.discordapp.com/attachments"
|
||||||
|
"/371047036348268545/528413677007929344"
|
||||||
|
"/image0-5.jpg")
|
||||||
|
|
||||||
@commands.check(check_if_staff_or_ot)
|
@commands.check(check_if_staff_or_ot)
|
||||||
@commands.command(hidden=True)
|
@commands.command(hidden=True)
|
||||||
async def bones(self, ctx):
|
async def bones(self, ctx):
|
||||||
|
|
Loading…
Reference in a new issue