Fix help command not working in DMs
The `help` application command now functions as expected in DMs. This shows both member-level and admin-level commands. - Fixed `shop open` appearing in the DM slash command list - Fixed `support_guild` not being included in `example-bot.conf` - The following wards now require the `Guild` context to be passed to them: - `low_management` - `high_management`
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user