added error handling for [p]unix

This commit is contained in:
Seaswimmer 2023-02-28 03:50:24 -05:00
parent 6f0378424c
commit a0e5d8ca02

View file

@ -18,7 +18,6 @@ class Galaxy(commands.Cog):
await ctx.send(embed=embed) await ctx.send(embed=embed)
await ctx.message.delete() await ctx.message.delete()
@commands.command() @commands.command()
async def warehouse(self, ctx: commands.Context, lvlfrom: int = 1, lvlto: int = 38): async def warehouse(self, ctx: commands.Context, lvlfrom: int = 1, lvlto: int = 38):
"""Calculates the total cost to upgrade your warehouse from a level to a level.""" """Calculates the total cost to upgrade your warehouse from a level to a level."""
@ -155,8 +154,8 @@ class Galaxy(commands.Cog):
await ctx.channel.send(embed=embed_mobile) await ctx.channel.send(embed=embed_mobile)
await ctx.message.delete() await ctx.message.delete()
@warehouse.error @warehouse.error
@unix.error
@faq_test.error @faq_test.error
@faq_linked_role.error @faq_linked_role.error
@faq_npc_intervals.error @faq_npc_intervals.error