Skip to content

Commit

Permalink
refactor: pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
liy77 committed Feb 14, 2024
1 parent d22ca8f commit da32724
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/darkcord/src/resources/Guild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,9 @@ 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")}` as Base64File;
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 da32724

Please sign in to comment.