From 160cbaa48bd9c2f4be0cdfd259abc778e63fe976 Mon Sep 17 00:00:00 2001 From: Liy Date: Wed, 14 Feb 2024 02:51:24 -0300 Subject: [PATCH] fix: typing --- packages/darkcord/src/resources/Guild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/darkcord/src/resources/Guild.ts b/packages/darkcord/src/resources/Guild.ts index ffcc1de..1f783b4 100644 --- a/packages/darkcord/src/resources/Guild.ts +++ b/packages/darkcord/src/resources/Guild.ts @@ -913,7 +913,7 @@ export class Guild extends BaseGuild { let emojiImage: Base64File | undefined; if (options.data && options.data instanceof Buffer) { - emojiImage = "data:image/jpg;base64," + options.data.toString("base64"); + emojiImage = `data:image/jpg;base64,${options.data.toString("base64")}` as Base64File; } else if ( options.data && typeof options.data === "string" &&