mirror of
https://wiilab.wiimart.org/wiimart/WiiMartBot
synced 2025-09-03 20:11:08 +02:00
smal upd
This commit is contained in:
parent
1c4105ab93
commit
73d20856ba
2
bot.py
2
bot.py
@ -391,7 +391,7 @@ async def unset(ctx):
|
|||||||
await ctx.send("Status has been unset.")
|
await ctx.send("Status has been unset.")
|
||||||
|
|
||||||
@bot.hybrid_command(name="error", description="Gets the error message linked with the shop error code")
|
@bot.hybrid_command(name="error", description="Gets the error message linked with the shop error code")
|
||||||
async def geterror(ctx, errorcode: commands.Range[int, 204000, 250943]):
|
async def geterror(ctx, errorcode: commands.Range[int, 200000, 250943]):
|
||||||
try:
|
try:
|
||||||
errormessage = get_error_message(errorcode)
|
errormessage = get_error_message(errorcode)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user