Fix build
This commit is contained in:
parent
a6e1669d60
commit
234315dacd
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue