mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-08 17:49:03 +00:00
[commands] Add missing and fix existing type annotations
This commit is contained in:
1 parent
46b3e036e2
commit
eca4727593
4 files changed
+18
-14
No files matched your search
@@ -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