RichTextFinder

constructor(@NotNull input: @NotNull String, getIMentionable: Boolean, getGlobalMentions: Boolean, getEmojis: Boolean, getUrls: Boolean)(source)

Parses the input for what you're asking

Parameters

input

The input to parse

getIMentionable

Whether to take Users/Channels/Emotes/Roles

getGlobalMentions

Whether to take @here and @everyone mentions

getEmojis

Whether to take Unicode/shortcode emojis

getUrls

Whether to take URLs