mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-04 01:40:08 +00:00
Update guildIconUrl.ts
This commit is contained in:
@@ -16,10 +16,10 @@ export function guildIconURL(
|
||||
? bot.utils.formatImageURL(
|
||||
bot.constants.endpoints.GUILD_ICON(
|
||||
id,
|
||||
typeof options.icon === "string" ? options.icon : bot.utils.iconBigintToHash(options.icon)
|
||||
typeof icon === "string" ? icon : bot.utils.iconBigintToHash(icon)
|
||||
),
|
||||
options.size || 128,
|
||||
options.format
|
||||
options?.size || 128,
|
||||
options?.format
|
||||
)
|
||||
: undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user