simple-robot-component-kook
3.0.0.0-alpha.3
simbot-component-kook-core
/
love.forte.simbot.component.kook
/
KookGuildMember
/
mute
mute
open
suspend override
fun
mute
(
time
:
Long
,
timeUnit
:
TimeUnit
)
:
Boolean
open
suspend
fun
mute
(
time
:
Long
,
timeUnit
:
TimeUnit
,
type
:
Int
)
:
Boolean
open
suspend override
fun
mute
(
duration
:
Duration
)
:
Boolean
对此用户进行静音操作。 默认情况下,
mute
代表使用类型
1
: 麦克风静音。
See also
Guild
Mute
Create
Request
Throws
Illegal
Argument
Exception
如果持续时间小于0
open
suspend
fun
mute
(
duration
:
Duration
,
type
:
Int
)
:
Boolean
abstract
suspend
fun
mute
(
durationMillis
:
Long
,
type
:
Int
=
GuildMuteType.TYPE_MICROPHONE
)
:
Boolean
对此用户进行静音操作。
See also
Guild
Mute
Create
Request
Throws
Illegal
Argument
Exception
如果持续时间小于0