public class MemberWithGuildID extends Member implements BotContent
| 字段名 | 类型 | 描述 |
|---|---|---|
| guild_id | string | 频道id |
| user | User | 用户的频道基础信息 |
| nick | string | 用户的昵称 |
| roles | string 数组 | 用户在频道内的身份 |
| joined_at | ISO8601 timestamp | 用户加入频道的时间 |
| 构造器和说明 |
|---|
MemberWithGuildID() |
| 限定符和类型 | 方法和说明 |
|---|---|
Bot |
getBot() |
void |
mute(int seconds)
禁言秒数
|
void |
mute(long timestamp)
禁言到指定时间戳 单位:秒
|
void |
setBot(Bot bot) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOpUserIdpublic void mute(int seconds)
seconds - public void mute(long timestamp)
timestamp - public Bot getBot()
getBot 在接口中 BotContentpublic void setBot(Bot bot)
setBot 在接口中 BotContentCopyright © 2023. All rights reserved.