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
  • Constructor Details

  • Method Details

    • sendMessage

      public void sendMessage(String message)
      Specified by:
      sendMessage in interface com.earth2me.essentials.messaging.IMessageRecipient
    • sendTl

      public void sendTl(String tlKey, Object... args)
      Specified by:
      sendTl in interface com.earth2me.essentials.messaging.IMessageRecipient
    • tlSender

      public String tlSender(String tlKey, Object... args)
      Specified by:
      tlSender in interface com.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 interface com.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 interface com.earth2me.essentials.messaging.IMessageRecipient
    • getName

      public String getName()
      Specified by:
      getName in interface com.earth2me.essentials.messaging.IMessageRecipient
      Specified by:
      getName in interface net.essentialsx.api.v2.services.mail.MailSender
    • getUUID

      public UUID getUUID()
      Specified by:
      getUUID in interface net.essentialsx.api.v2.services.mail.MailSender
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface com.earth2me.essentials.messaging.IMessageRecipient
    • isReachable

      public boolean isReachable()
      Specified by:
      isReachable in interface com.earth2me.essentials.messaging.IMessageRecipient
    • getReplyRecipient

      public com.earth2me.essentials.messaging.IMessageRecipient getReplyRecipient()
      Specified by:
      getReplyRecipient in interface com.earth2me.essentials.messaging.IMessageRecipient
    • setReplyRecipient

      public void setReplyRecipient(com.earth2me.essentials.messaging.IMessageRecipient recipient)
      Specified by:
      setReplyRecipient in interface com.earth2me.essentials.messaging.IMessageRecipient
    • isHiddenFrom

      public boolean isHiddenFrom(Player player)
      Specified by:
      isHiddenFrom in interface com.earth2me.essentials.messaging.IMessageRecipient