类 MiraiStrangerMessagePreSendEvent
java.lang.Object
net.md_5.bungee.api.plugin.Event
me.dreamvoid.miraimc.bungee.event.message.presend.AbstractMessagePreSendEvent
me.dreamvoid.miraimc.bungee.event.message.presend.MiraiStrangerMessagePreSendEvent
- 所有已实现的接口:
Cancellable
- 直接已知子类:
MiraiStrangerMessagePreSendEvent
(BungeeCord) 消息 - 主动发送消息前 - 陌生人消息
-
构造器概要
构造器说明MiraiStrangerMessagePreSendEvent
(net.mamoe.mirai.event.events.StrangerMessagePreSendEvent event) -
方法概要
从类继承的方法 me.dreamvoid.miraimc.bungee.event.message.presend.AbstractMessagePreSendEvent
getBotID, getMessage, getMessageContent, getMessageToString, getTargetID, isCancelled, setCancelled, setMessage, toString
-
构造器详细资料
-
MiraiStrangerMessagePreSendEvent
public MiraiStrangerMessagePreSendEvent(net.mamoe.mirai.event.events.StrangerMessagePreSendEvent event)
-
-
方法详细资料
-
getTargetNick
返回接收这条信息的目标昵称- 返回:
- 目标昵称
-
getFriendRemark
返回接收者的备注名- 返回:
- 备注名
-