Package net.essentialsx.discord.util
Class DiscordMessageRecipient
java.lang.Object
net.essentialsx.discord.util.DiscordMessageRecipient
- All Implemented Interfaces:
com.earth2me.essentials.messaging.IMessageRecipient
,net.essentialsx.api.v2.services.mail.MailSender
public class DiscordMessageRecipient
extends Object
implements com.earth2me.essentials.messaging.IMessageRecipient
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.earth2me.essentials.messaging.IMessageRecipient
com.earth2me.essentials.messaging.IMessageRecipient.MessageResponse
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
com.earth2me.essentials.messaging.IMessageRecipient
getUUID()
boolean
isHiddenFrom
(Player player) boolean
com.earth2me.essentials.messaging.IMessageRecipient.MessageResponse
onReceiveMessage
(com.earth2me.essentials.messaging.IMessageRecipient sender, String message) com.earth2me.essentials.messaging.IMessageRecipient.MessageResponse
sendMessage
(com.earth2me.essentials.messaging.IMessageRecipient recipient, String message) void
sendMessage
(String message) void
void
setReplyRecipient
(com.earth2me.essentials.messaging.IMessageRecipient recipient)
-
Constructor Details
-
DiscordMessageRecipient
-
-
Method Details
-
sendMessage
- Specified by:
sendMessage
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
sendTl
- Specified by:
sendTl
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
tlSender
- Specified by:
tlSender
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
sendMessage
public com.earth2me.essentials.messaging.IMessageRecipient.MessageResponse sendMessage(com.earth2me.essentials.messaging.IMessageRecipient recipient, String message) - Specified by:
sendMessage
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
onReceiveMessage
public com.earth2me.essentials.messaging.IMessageRecipient.MessageResponse onReceiveMessage(com.earth2me.essentials.messaging.IMessageRecipient sender, String message) - Specified by:
onReceiveMessage
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
getName
- Specified by:
getName
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
- Specified by:
getName
in interfacenet.essentialsx.api.v2.services.mail.MailSender
-
getUUID
- Specified by:
getUUID
in interfacenet.essentialsx.api.v2.services.mail.MailSender
-
getDisplayName
- Specified by:
getDisplayName
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
isReachable
public boolean isReachable()- Specified by:
isReachable
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
getReplyRecipient
public com.earth2me.essentials.messaging.IMessageRecipient getReplyRecipient()- Specified by:
getReplyRecipient
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
setReplyRecipient
public void setReplyRecipient(com.earth2me.essentials.messaging.IMessageRecipient recipient) - Specified by:
setReplyRecipient
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-
isHiddenFrom
- Specified by:
isHiddenFrom
in interfacecom.earth2me.essentials.messaging.IMessageRecipient
-