chore: change code commit of pictogram to emoji
This commit is contained in:
parent
6282ccc614
commit
21be41bc7e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ export async function toDbReaction(
|
||||||
// 文字列タイプのリアクションを絵文字に変換
|
// 文字列タイプのリアクションを絵文字に変換
|
||||||
if (Object.keys(legacies).includes(reaction)) return legacies[reaction];
|
if (Object.keys(legacies).includes(reaction)) return legacies[reaction];
|
||||||
|
|
||||||
// Unicode Pictograms
|
// Unicode emoji
|
||||||
const match = emojiRegex.exec(reaction);
|
const match = emojiRegex.exec(reaction);
|
||||||
if (match) {
|
if (match) {
|
||||||
//return only first emoji
|
//return only first emoji
|
||||||
|
|
Loading…
Reference in a new issue