forked from pothtonswer/discordmuffin
parent
69ea356662
commit
5571950c90
1 changed files with 1 additions and 1 deletions
|
@ -612,7 +612,7 @@ type Emoji struct {
|
||||||
|
|
||||||
// EmojiRegex is the regex used to find and identify emojis in messages
|
// EmojiRegex is the regex used to find and identify emojis in messages
|
||||||
var (
|
var (
|
||||||
EmojiRegex = regexp.MustCompile(`<(a|):[A-z0-9_~]+:[0-9]{18,20}>`)
|
EmojiRegex = regexp.MustCompile(`<(a|):[A-Za-z0-9_~]+:[0-9]{18,20}>`)
|
||||||
)
|
)
|
||||||
|
|
||||||
// MessageFormat returns a correctly formatted Emoji for use in Message content and embeds
|
// MessageFormat returns a correctly formatted Emoji for use in Message content and embeds
|
||||||
|
|
Loading…
Reference in a new issue