fix markup
This commit is contained in:
parent
88dd96910c
commit
9216e07b31
1 changed files with 2 additions and 2 deletions
|
@ -43,12 +43,12 @@ class Err:
|
||||||
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]
|
||||||
|
|
||||||
embed = discord.Embed(title='0x{:X} / {}'.format(errcode, err), description="*Console: {} \n Module: {}* \n Error Description: {} \n".format(err_console, err_module, err_description))
|
embed = discord.Embed(title='0x{:X} / {}'.format(errcode, err), description="*Console:* {} \n *Module:* {} \n *Error Description:* {} \n".format(err_console, err_module, err_description))
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
|
|
||||||
elif err in switch_game_err: # Special Case Handling because Nintendo feels like its required to break their format lol
|
elif err in switch_game_err: # Special Case Handling because Nintendo feels like its required to break their format lol
|
||||||
game,desc = switch_game_err[err].split(":")
|
game,desc = switch_game_err[err].split(":")
|
||||||
await ctx.send(embed=discord.Embed(title=err, description="*Console: {} \n Game: {}* \n Error Description: {}".format(err_console, game, desc)))
|
await ctx.send(embed=discord.Embed(title=err, description="*Console:* {} \n *Game:* {} \n *Error Description:* {}".format(err_console, game, desc)))
|
||||||
return
|
return
|
||||||
|
|
||||||
elif err.startswith("0x"):
|
elif err.startswith("0x"):
|
||||||
|
|
Loading…
Reference in a new issue