[commands] Type BotBase.help_command as Optional

This commit is contained in:
Stanisław Jelnicki
2022-03-15 02:02:36 +01:00
committed by GitHub
parent 6cf7c4a7d7
commit 47cb7d03ec

View File

@ -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: