Class CommandSender

    • Constructor Detail

    • Method Detail

      • getParent

        public CommandSender getParent()
        Gets the parent to this command sender, such as for a sub-execution.
        Returns:
        CommandSender instance.
      • getConversation

        public abstract Conversation getConversation()
        Gets the conversation the message was sent in.
      • getUser

        public abstract User getUser()
        Gets the user this sender represents.
        Returns:
        User.
      • getUsername

        public java.lang.String getUsername()
        Description copied from interface: ChatSender
        Gets the username of the command sender.
      • getDisplayName

        public java.lang.String getDisplayName()
        Description copied from interface: ChatSender
        Gets the display name of the command sender.