From 77f251e5d61a6873fca6baba9fb6f0490a8d6927 Mon Sep 17 00:00:00 2001 From: Yuzu Date: Mon, 18 Jul 2022 13:15:28 -0500 Subject: [PATCH] fix: fmt --- packages/biscuit/Routes.ts | 2 +- packages/biscuit/structures/guilds.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 }); }