mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-28 08:41:29 +00:00
New generation init
This commit is contained in:
12
none/permissions.py
Normal file
12
none/permissions.py
Normal file
@ -0,0 +1,12 @@
|
||||
PRIVATE_FRIEND = 0x0001
|
||||
PRIVATE_GROUP = 0x0002
|
||||
PRIVATE_DISCUSS = 0x0004
|
||||
PRIVATE_OTHER = 0x0008
|
||||
PRIVATE = 0x000F
|
||||
DISCUSS = 0x00F0
|
||||
GROUP_MEMBER = 0x0100
|
||||
GROUP_ADMIN = 0x0200
|
||||
GROUP_OWNER = 0x0400
|
||||
GROUP = 0x0F00
|
||||
SUPERUSER = 0xF000
|
||||
EVERYONE = 0xFFFF
|
Reference in New Issue
Block a user