mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Fix endpoint for BaseGuild->iconURL
This commit is contained in:
parent
3de8d75924
commit
fd2cb00bde
@ -48,7 +48,7 @@ export abstract class BaseGuild implements Model {
|
|||||||
iconURL(options: { size?: ImageSize; format?: ImageFormat } = { size: 128 }) {
|
iconURL(options: { size?: ImageSize; format?: ImageFormat } = { size: 128 }) {
|
||||||
if (this.iconHash) {
|
if (this.iconHash) {
|
||||||
return formatImageURL(
|
return formatImageURL(
|
||||||
Routes.GUILD_BANNER(this.id, iconBigintToHash(this.iconHash)),
|
Routes.GUILD_ICON(this.id, iconBigintToHash(this.iconHash)),
|
||||||
options.size,
|
options.size,
|
||||||
options.format,
|
options.format,
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user