From 8c48ac950e6a190990ced59c2ab9cbf6438c7a08 Mon Sep 17 00:00:00 2001 From: Haruka Date: Wed, 18 Dec 2024 19:02:45 +0200 Subject: [PATCH] feat: blank out tags and description --- src/plugins/emoteCloner/index.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/plugins/emoteCloner/index.tsx b/src/plugins/emoteCloner/index.tsx index e75316a3e..4de8c8b95 100644 --- a/src/plugins/emoteCloner/index.tsx +++ b/src/plugins/emoteCloner/index.tsx @@ -350,13 +350,17 @@ const messageContextMenuPatch: NavContextMenuPatchCallback = (children, props) = const fetchedSticker = await fetchSticker(favoriteableId); // Workaround for incase the sticker or the server it's from is deleted. - // Allows the sticker to still be cloned, albeit less accurately. + // Allows the sticker to still be cloned. if (fetchedSticker === undefined) { return { "id": sticker?.id, "name": sticker?.name, "format_type": sticker?.format_type, - "tags": sticker?.name, + // Discord has a character limit of at least 1 for tags (aka related emoji) + // for some reason. + // They don't check for spaces. + "tags": " ", + "description": "", "type": "2", "available": true, "guild_id": 0