mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
Prettified Code!
This commit is contained in:
@@ -12,19 +12,18 @@ export function guildIconURL(
|
||||
size?: DiscordImageSize;
|
||||
format?: DiscordImageFormat;
|
||||
animated?: boolean;
|
||||
},
|
||||
}
|
||||
) {
|
||||
return options.icon
|
||||
? formatImageURL(
|
||||
endpoints.GUILD_ICON(
|
||||
id,
|
||||
typeof options.icon === "string" ? options.icon : iconBigintToHash(
|
||||
options.icon,
|
||||
options.animated ?? true,
|
||||
endpoints.GUILD_ICON(
|
||||
id,
|
||||
typeof options.icon === "string"
|
||||
? options.icon
|
||||
: iconBigintToHash(options.icon, options.animated ?? true)
|
||||
),
|
||||
),
|
||||
options.size || 128,
|
||||
options.format,
|
||||
)
|
||||
options.size || 128,
|
||||
options.format
|
||||
)
|
||||
: undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user