diff --git a/packages/biscuit/Routes.ts b/packages/biscuit/Routes.ts index 26af956..1ac377e 100644 --- a/packages/biscuit/Routes.ts +++ b/packages/biscuit/Routes.ts @@ -130,7 +130,7 @@ export interface GetInvite { scheduledEventId?: Snowflake; } -export function GUILDS(guildId?: Snowflake): string { +export function GUILDS(guildId?: Snowflake): string { if (guildId) return `/guilds/${guildId}`; return `/guilds`; } diff --git a/packages/biscuit/structures/guilds.ts b/packages/biscuit/structures/guilds.ts index 71dbd54..97f3162 100644 --- a/packages/biscuit/structures/guilds.ts +++ b/packages/biscuit/structures/guilds.ts @@ -663,7 +663,7 @@ export class Guild extends BaseGuild implements Model { await this.session.rest.runMethod( this.session.rest, "DELETE", - Routes.USER_GUILDS(this.id) + Routes.USER_GUILDS(this.id), ); } @@ -714,7 +714,7 @@ export class Guild extends BaseGuild implements Model { /** * ESets a new guild splash. */ - setSplash(splashURL: string ): Promise { + setSplash(splashURL: string): Promise { return this.edit({ splashURL }); } @@ -725,9 +725,9 @@ export class Guild extends BaseGuild implements Model { return this.edit({ bannerURL }); } - /** + /** * Sets a new guild discovery splash image. - */ + */ setDiscoverySplash(discoverySplashURL: string): Promise { return this.edit({ discoverySplashURL }); }