From c5caf40e7357a31277324de34fb4f35b617d5213 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 10 Apr 2024 20:03:26 -0400 Subject: [PATCH] Update twemoji-parser --- commands/info/emoji-image.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/info/emoji-image.js b/commands/info/emoji-image.js index 552bf5a4..0945aad3 100644 --- a/commands/info/emoji-image.js +++ b/commands/info/emoji-image.js @@ -1,6 +1,6 @@ const Command = require('../../framework/Command'); const { GuildEmoji, PermissionFlagsBits } = require('discord.js'); -const twemoji = require('twemoji-parser'); +const twemoji = require('@twemoji/parser'); const request = require('node-superfetch'); const { createCanvas, loadImage } = require('canvas'); diff --git a/package.json b/package.json index fcb7bf22..3bc6f953 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ "@mediapipe/face_detection": "^0.4.1646425229", "@tensorflow/tfjs-node": "^4.17.0", "@tensorflow-models/face-detection": "^1.0.2", + "@twemoji/parser": "^15.1.1", "@vitalets/google-translate-api": "^8.0.0", "aki-api": "^6.0.9", "bombsweeper.js": "^1.0.1", @@ -77,7 +78,6 @@ "stackblur-canvas": "^2.7.0", "text-diff": "^1.0.1", "tictactoe-minimax-ai": "github:marianoheller/tic-tac-toe-minimax", - "twemoji-parser": "^14.0.0", "twitter-openapi-typescript": "^0.0.32", "valid-url": "^1.0.9", "wavefile": "^11.0.0",