mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
[commands] Add missing and fix existing type annotations
This commit is contained in:
@ -262,6 +262,7 @@ class HelpCommand(HelpCommandCommand, Generic[ContextT]):
|
||||
) -> None:
|
||||
self.show_hidden: bool = show_hidden
|
||||
self.verify_checks: bool = verify_checks
|
||||
self.command_attrs: Dict[str, Any]
|
||||
self.command_attrs = attrs = command_attrs if command_attrs is not MISSING else {}
|
||||
attrs.setdefault('name', 'help')
|
||||
attrs.setdefault('help', 'Shows this message')
|
||||
|
Reference in New Issue
Block a user