This commit is contained in:
Yuzu 2022-07-18 13:15:28 -05:00
parent 38b2a0e003
commit 77f251e5d6
2 changed files with 5 additions and 5 deletions

View File

@ -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`;
}

View File

@ -663,7 +663,7 @@ export class Guild extends BaseGuild implements Model {
await this.session.rest.runMethod<undefined>(
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<Guild> {
setSplash(splashURL: string): Promise<Guild> {
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<Guild> {
return this.edit({ discoverySplashURL });
}