mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 08:41:29 +00:00
Adjust
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user