Skip to content

Commit

Permalink
api: add help message for wfcerror
Browse files Browse the repository at this point in the history
  • Loading branch information
lifehackerhansol committed Aug 29, 2024
1 parent 05f3c39 commit df28533
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cogs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,12 @@ async def generatemkey(self, ctx, device: str, month: int, day: int, inquiry: st

@commands.command()
async def wfcerror(self, ctx, error: int):
"""
Get information about an error code displayed in Nintendo WFC.
Usage: `wfcerror <error code>`
Note: As the description is pulled from Wiimmfi's databases, some error codes may specify the Wii instead of the DS.
This is normal, and in most cases any instructions for the Wii may also apply to the DS.
"""
# It seems error codes must be within 6 digits
if error > 999999:
return await ctx.send(f"{ctx.author.mention} This is an invalid error code. Please try again.")
Expand Down

0 comments on commit df28533

Please sign in to comment.