diff options
author | 2022-08-18 18:35:25 +0100 | |
---|---|---|
committer | 2022-08-19 10:28:03 +0100 | |
commit | 702144d1ac88696cf045f12e1972cfe6f58335e5 (patch) | |
tree | f590cc746ba0b4ca49d428ed73b0ac797a1004c3 /bot/exts/core/help.py | |
parent | Don't output command name twice in help command (diff) |
Allow help in DMs
Since there are some comands that work in DMs, we should allow the command to be ran there.
Diffstat (limited to 'bot/exts/core/help.py')
-rw-r--r-- | bot/exts/core/help.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/core/help.py b/bot/exts/core/help.py index 7384c27d..eb7a9762 100644 --- a/bot/exts/core/help.py +++ b/bot/exts/core/help.py @@ -13,6 +13,7 @@ from bot import constants from bot.bot import Bot from bot.constants import Emojis from bot.utils.commands import get_command_suggestions +from bot.utils.decorators import whitelist_override from bot.utils.pagination import FIRST_EMOJI, LAST_EMOJI, LEFT_EMOJI, LinePaginator, RIGHT_EMOJI DELETE_EMOJI = Emojis.trashcan @@ -512,6 +513,7 @@ class Help(DiscordCog): """Custom Embed Pagination Help feature.""" @commands.command("help") + @whitelist_override(allow_dm=True) async def new_help(self, ctx: Context, *commands) -> None: """Shows Command Help.""" try: |