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:
JetRaidz
2023-09-19 18:32:29 +12:00
parent bb13c1fe66
commit 1946077ded
4 changed files with 16 additions and 8 deletions

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.