Browse Source

[commands] Type BotBase.help_command as Optional

pull/7691/head
Stanisław Jelnicki 3 years ago
committed by GitHub
parent
commit
47cb7d03ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      discord/ext/commands/bot.py

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

Loading…
Cancel
Save