public abstract class BaseGuildEvent extends Object implements GuildEvent
| Modifier and Type | Field and Description |
|---|---|
protected Bot |
bot |
protected Guild |
guild |
protected com.alibaba.fastjson.JSONObject |
metadata |
| Constructor and Description |
|---|
BaseGuildEvent() |
BaseGuildEvent(com.alibaba.fastjson.JSONObject jo,
Bot bot) |
| Modifier and Type | Method and Description |
|---|---|
Bot |
getBot()
事件所在bot
|
Guild |
getGuild()
事件所在频道
|
com.alibaba.fastjson.JSONObject |
getMetadata()
获得元数据
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassNameprotected com.alibaba.fastjson.JSONObject metadata
protected Guild guild
protected Bot bot
public BaseGuildEvent()
public BaseGuildEvent(com.alibaba.fastjson.JSONObject jo,
Bot bot)
public com.alibaba.fastjson.JSONObject getMetadata()
EventgetMetadata in interface Eventpublic Guild getGuild()
GuildEventgetGuild in interface GuildEventCopyright © 2023. All rights reserved.