toggle menu
Simple Robot 组件 | QQ Guild
4.1.2
common
switch theme
search in API
simbot-component-qq-guild-api
/
love.forte.simbot.qguild.model
/
Role
/
Companion
Companion
object
Companion
(
source
)
Members
Properties
DEFAULT_ID_ADMIN
Link copied to clipboard
const
val
DEFAULT_ID_ADMIN
:
String
DefaultRoleIDs(系统默认生成下列身份组ID)
DEFAULT_ID_ALL_MEMBER
Link copied to clipboard
const
val
DEFAULT_ID_ALL_MEMBER
:
String
DefaultRoleIDs(系统默认生成下列身份组ID)
DEFAULT_ID_CHANNEL_ADMIN
Link copied to clipboard
const
val
DEFAULT_ID_CHANNEL_ADMIN
:
String
DefaultRoleIDs(系统默认生成下列身份组ID)
DEFAULT_ID_OWNER
Link copied to clipboard
const
val
DEFAULT_ID_OWNER
:
String
DefaultRoleIDs(系统默认生成下列身份组ID)
Default
Admin
Link copied to clipboard
@
JvmField
val
DefaultAdmin
:
Role
DefaultRoleIDs(系统默认生成下列身份组ID)
Default
All
Member
Link copied to clipboard
@
JvmField
val
DefaultAllMember
:
Role
DefaultRoleIDs(系统默认生成下列身份组ID)
Default
Channel
Admin
Link copied to clipboard
@
JvmField
val
DefaultChannelAdmin
:
Role
DefaultRoleIDs(系统默认生成下列身份组ID)
Default
Owner
Link copied to clipboard
@
JvmField
val
DefaultOwner
:
Role
DefaultRoleIDs(系统默认生成下列身份组ID)
is
Default
Link copied to clipboard
@get:
JvmStatic
val
Role
.
isDefault
:
Boolean
判断
id
是否为如下所列的默认身分组ID:
Functions
default
Role
Link copied to clipboard
fun
defaultRole
(
id
:
String
)
:
Role
得到一个
id
对应的默认角色实例。
is
Default
Link copied to clipboard
@
JvmStatic
fun
isDefault
(
id
:
String
)
:
Boolean
判断
id
是否为如下所列的默认身分组ID: