1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-03 00:23:13 +00:00

Disable .inventory command for now

Items can't be obtained or sold, so the inventory command has no use.
This commit is contained in:
wlinator 2024-03-26 16:33:38 +01:00
parent 3e9995902f
commit c64f83bf4f

View file

@ -91,18 +91,18 @@ class Economy(commands.Cog):
elif isinstance(error, commands.BadArgument): elif isinstance(error, commands.BadArgument):
await ctx.respond(embed=EconErrors.bad_argument(ctx)) await ctx.respond(embed=EconErrors.bad_argument(ctx))
@bridge.bridge_command( # @bridge.bridge_command(
name="inventory", # name="inventory",
aliases=["inv"], # aliases=["inv"],
description="Display your inventory.", # description="Display your inventory.",
help="Display your inventory, this will also show your Racu badges if you have any.", # help="Display your inventory, this will also show your Racu badges if you have any.",
guild_only=True # guild_only=True
) # )
@commands.guild_only() # @commands.guild_only()
@checks.allowed_in_channel() # @checks.allowed_in_channel()
@commands.cooldown(1, 10, commands.BucketType.user) # @commands.cooldown(1, 10, commands.BucketType.user)
async def inventory(self, ctx): # async def inventory(self, ctx):
return await inventory.cmd(self, ctx) # return await inventory.cmd(self, ctx)
@bridge.bridge_command( @bridge.bridge_command(
name="slots", name="slots",