Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultAdminLevel = 5
View Source
const DefaultOwnerLevel = 1
Variables ¶
This section is empty.
Functions ¶
func CheckPriority ¶ added in v0.1.0
CheckPriority 检查权限
func GetGroupUserPriority ¶
GetGroupUserPriority 获取指定群指定用户的权限等级,数字越小,代表权限越高
func InitialGroupPriority ¶
InitialGroupPriority 初始化指定群的所有管理员权限等级(若不存在)
func SetGroupUserPriority ¶
SetGroupUserPriority 将指定群指定用户的权限等级设为level
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.