mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix: fmt
This commit is contained in:
parent
38b2a0e003
commit
77f251e5d6
@ -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`;
|
||||
}
|
||||
|
@ -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 });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user