mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-31 15:41:34 +08:00
Adjust
This commit is contained in:
parent
218a6c5665
commit
128cb8ce29
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user