From 47cb7d03ec355f6ffa5db4f2c126eac602ad5ce8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Jelnicki?= Date: Tue, 15 Mar 2022 02:02:36 +0100 Subject: [PATCH] [commands] Type BotBase.help_command as Optional --- discord/ext/commands/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index c73fd5204..079c895af 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -151,7 +151,7 @@ class BotBase(GroupMixin[None]): def __init__( self, command_prefix: PrefixType[BotT], - help_command: HelpCommand = _default, + help_command: Optional[HelpCommand] = _default, description: Optional[str] = None, **options: Any, ) -> None: