mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-02 21:16:09 +00:00
fix: fmt
This commit is contained in:
parent
38b2a0e003
commit
77f251e5d6
@ -130,7 +130,7 @@ export interface GetInvite {
|
|||||||
scheduledEventId?: Snowflake;
|
scheduledEventId?: Snowflake;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function GUILDS(guildId?: Snowflake): string {
|
export function GUILDS(guildId?: Snowflake): string {
|
||||||
if (guildId) return `/guilds/${guildId}`;
|
if (guildId) return `/guilds/${guildId}`;
|
||||||
return `/guilds`;
|
return `/guilds`;
|
||||||
}
|
}
|
||||||
|
@ -663,7 +663,7 @@ export class Guild extends BaseGuild implements Model {
|
|||||||
await this.session.rest.runMethod<undefined>(
|
await this.session.rest.runMethod<undefined>(
|
||||||
this.session.rest,
|
this.session.rest,
|
||||||
"DELETE",
|
"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.
|
* ESets a new guild splash.
|
||||||
*/
|
*/
|
||||||
setSplash(splashURL: string ): Promise<Guild> {
|
setSplash(splashURL: string): Promise<Guild> {
|
||||||
return this.edit({ splashURL });
|
return this.edit({ splashURL });
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -727,7 +727,7 @@ export class Guild extends BaseGuild implements Model {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a new guild discovery splash image.
|
* Sets a new guild discovery splash image.
|
||||||
*/
|
*/
|
||||||
setDiscoverySplash(discoverySplashURL: string): Promise<Guild> {
|
setDiscoverySplash(discoverySplashURL: string): Promise<Guild> {
|
||||||
return this.edit({ discoverySplashURL });
|
return this.edit({ discoverySplashURL });
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user