Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
liy77 committed Feb 14, 2024
1 parent c9df5aa commit 160cbaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/darkcord/src/resources/Guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" &&
Expand Down

0 comments on commit 160cbaa

Please sign in to comment.