Skip to content

Commit da0382b

Browse files
authored
Merge pull request #27 from Mimickal/discord-js-v12-legacy
2 parents 0a37078 + f0b3ef8 commit da0382b

File tree

3 files changed

+2837
-40
lines changed

3 files changed

+2837
-40
lines changed

main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ function extractEmoji(emoji) {
794794
return null;
795795
}
796796

797-
let match = emoji.match(/<:.+:(\d{17,19})>/);
797+
let match = emoji.match(/<a?:.+:(\d{17,21})>/);
798798
return match ? match[1] : emoji;
799799
}
800800

0 commit comments

Comments
 (0)