chore: change code commit of pictogram to emoji

This commit is contained in:
cutestnekoaqua 2023-01-13 19:40:45 +01:00
parent 6282ccc614
commit 21be41bc7e
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -64,7 +64,7 @@ export async function toDbReaction(
// 文字列タイプのリアクションを絵文字に変換
if (Object.keys(legacies).includes(reaction)) return legacies[reaction];
// Unicode Pictograms
// Unicode emoji
const match = emojiRegex.exec(reaction);
if (match) {
//return only first emoji