feat: add INVITES_DISABLED guild feature

#9051 djs
This commit is contained in:
March 7th
2023-01-17 18:47:44 +07:00
parent 1ac8fd96ef
commit 597eb2979c
2 changed files with 11 additions and 0 deletions

1
typings/index.d.ts vendored
View File

@@ -1374,6 +1374,7 @@ export class Guild extends AnonymousGuild {
public fetchWelcomeScreen(): Promise<WelcomeScreen>;
public fetchWidget(): Promise<Widget>;
public fetchWidgetSettings(): Promise<GuildWidgetSettings>;
public disableInvites(disabled?: boolean): Promise<Guild>;
public leave(): Promise<Guild>;
public setAFKChannel(afkChannel: VoiceChannelResolvable | null, reason?: string): Promise<Guild>;
public setAFKTimeout(afkTimeout: number, reason?: string): Promise<Guild>;