Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-component-qq-core
/
love.forte.simbot.component.qguild.group
/
addMuteFor
add
Mute
For
suspend
fun
QGGroupMember
.
addMuteFor
(
duration
:
Duration
,
now
:
Instant
=
Clock.System.now()
)
(
source
)
为此成员增加指定时长的禁言。
Since
5.0
Parameters
duration
禁言时长,必须为有限的正值。
now
计算到期时间的起点,默认为当前时间。
See also
QGGroup
Member.
addMute
Throws
Illegal
Argument
Exception
时长无效。
QQGuild
Api
Exception
API 调用失败。