Interface AllowedMentions



  • public interface AllowedMentions
    This interface represents a mention.
    • Method Detail

      • getAllowedRoleMentions

        Optional<List<Long>> getAllowedRoleMentions​()
        Gets the allowed user mentions from the message.
        Returns:
        The allowed mentions for users of the message.
      • getAllowedUserMentions

        Optional<List<Long>> getAllowedUserMentions​()
        Gets the allowed role mentions from the message.
        Returns:
        The allowed mentions for roles of the message.
      • getGeneralMentions

        Optional<List<String>> getGeneralMentions​()
        Gets the allowed general mentions from the message.
        Returns:
        The general allowed mentions of the message.