mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 01:45:32 +00:00
Merge pull request #34 from Oreo639/err-err
Show dderr value number if not in list
This commit is contained in:
commit
2be497be9b
|
@ -47,11 +47,11 @@ class Err(Cog):
|
|||
summ = (rc >> 21) & 0x3F
|
||||
level = (rc >> 27) & 0x1F
|
||||
embed = discord.Embed(title=f"0x{rc:X}")
|
||||
embed.add_field(name="Module", value=dds_modules[mod])
|
||||
embed.add_field(name="Module", value=dds_modules.get(mod, mod))
|
||||
embed.add_field(name="Description",
|
||||
value=dds_descriptions[desc])
|
||||
embed.add_field(name="Summary", value=dds_summaries[summ])
|
||||
embed.add_field(name="Level", value=dds_levels[level])
|
||||
value=dds_descriptions.get(desc, desc))
|
||||
embed.add_field(name="Summary", value=dds_summaries.get(summ, summ))
|
||||
embed.add_field(name="Level", value=dds_levels.get(level, level))
|
||||
embed.set_footer(text="Console: 3DS")
|
||||
|
||||
await ctx.send(embed=embed)
|
||||
|
|
Loading…
Reference in a new issue