Interface AllowedMentions
-
public interface AllowedMentionsThis interface represents a mention.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Optional<List<Long>>getAllowedRoleMentions()Gets the allowed user mentions from the message.Optional<List<Long>>getAllowedUserMentions()Gets the allowed role mentions from the message.Optional<List<String>>getGeneralMentions()Gets the allowed general mentions from the message.
-
-
-
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.
-
-