Package net.essentialsx.discord.util
Class MessageUtil
java.lang.Object
net.essentialsx.discord.util.MessageUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatMessage
(MessageFormat format, Object... args) Shortcut method allowing for use of varags inMessageFormat
instancesstatic String
sanitizeDiscordMarkdown
(String message) Sanitizes text to be sent to Discord, escaping any Markdown syntax.
-
Method Details
-
sanitizeDiscordMarkdown
Sanitizes text to be sent to Discord, escaping any Markdown syntax. -
formatMessage
Shortcut method allowing for use of varags inMessageFormat
instances
-