📝 💡 fix some typo and style in mirai adapter

This commit is contained in:
Mix
2021-02-01 13:50:14 +08:00
parent 6a273a8eea
commit d2a62ebd3d
7 changed files with 31 additions and 20 deletions

View File

@ -13,11 +13,13 @@ from nonebot.typing import overrides
class UserPermission(str, Enum):
"""
用户权限枚举类
:说明:
- ``OWNER``: 群主
- ``ADMINISTRATOR``: 群管理
- ``MEMBER``: 普通群成员
用户权限枚举类
* ``OWNER``: 群主
* ``ADMINISTRATOR``: 群管理
* ``MEMBER``: 普通群成员
"""
OWNER = 'OWNER'
ADMINISTRATOR = 'ADMINISTRATOR'