From fbbbebaf2e9e6c11fe6775615e816b110e7e1b47 Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Fri, 6 Feb 2026 12:20:00 +0300 Subject: [PATCH] fix emoji naming --- src/commands/quote.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/quote.ts b/src/commands/quote.ts index dbe39bf..ba4beca 100644 --- a/src/commands/quote.ts +++ b/src/commands/quote.ts @@ -84,7 +84,7 @@ export class Quote extends Command { const emojiCache = new Map(); const customEmojiCache = new Map(); -function appleEmojiUrl(emoji: string): string { +function githubEmojiUrl(emoji: string): string { const codePoints = [...emoji] .map(char => char.codePointAt(0)!.toString(16)) .join("-"); @@ -97,7 +97,7 @@ function twemojiUrl(emoji: string) { } async function loadEmoji(emoji: string): Promise { - let url = appleEmojiUrl(emoji); + let url = githubEmojiUrl(emoji); let cached = emojiCache.get(url); if (cached) return cached;