This commit is contained in:
Richard Chien 2019-01-25 16:25:00 +08:00
parent 218a6c5665
commit 128cb8ce29

View File

@ -32,8 +32,11 @@ CommandHandler_T = Callable[['CommandSession'], Any]
class Command:
__slots__ = ('name', 'func', 'permission',
'only_to_me', 'privileged', 'args_parser_func')
__slots__ = ('name', 'func',
'permission',
'only_to_me',
'privileged',
'args_parser_func')
def __init__(self, *,
name: CommandName_T,