mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 01:35:30 +00:00
Show dderr value number if not in list
This commit is contained in:
parent
bbeaa8049e
commit
ae9925f69c
|
@ -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