Fix build

This commit is contained in:
Cleo 2023-02-10 10:04:32 +00:00
parent a6e1669d60
commit 234315dacd

View file

@ -78,13 +78,6 @@ export async function toDbReaction(
return unicode;
}
// Allow unicode reactions
const match = emojiRegex.exec(reaction);
if (match) {
const unicode = match[0];
return unicode;
}
const custom = reaction.match(/^:([\w+-]+)(?:@\.)?:$/);
if (custom) {
const name = custom[1];