Merge branch 'rewrite' of cgithub:StudyLions/StudyLion into rewrite

This commit is contained in:
2023-09-20 17:31:04 +03:00
4 changed files with 16 additions and 8 deletions

View File

@@ -32,6 +32,6 @@ class MetaCog(LionCog):
ctx.bot,
ctx.author,
ctx.guild,
show_admin=await low_management(ctx.bot, ctx.author),
show_admin=await low_management(ctx.bot, ctx.author, ctx.guild),
)
await ui.run(ctx.interaction)

View File

@@ -117,6 +117,7 @@ class Shopping(LionCog):
name=_p('cmd:shop', 'shop'),
description=_p('cmd:shop|desc', "Purchase coloures, roles, and other goodies with LionCoins.")
)
@appcmds.guild_only
async def shop_group(self, ctx: LionContext):
return
@@ -124,6 +125,7 @@ class Shopping(LionCog):
name=_p('cmd:shop_open', 'open'),
description=_p('cmd:shop_open|desc', "Open the server shop.")
)
@appcmds.guild_only
async def shop_open_cmd(self, ctx: LionContext):
"""
Opens the shop UI for the current guild.