bwmarrin / discordgo

(Golang) Go bindings for Discord
BSD 3-Clause "New" or "Revised" License
5.11k stars 812 forks source link

Fix error in emoji range #1585

Open hartman opened 1 week ago

hartman commented 1 week ago

EmojiRegex uses range [A-z], which includes more characters than [A-Z] and [a-z]. Couldn't tell if this was always guaranteed to be run case insensitive, so made it [A-Za-z]