mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
refactor(Guild): remove fetchVanityCode() (#5471)
This commit is contained in:
8
typings/index.d.ts
vendored
8
typings/index.d.ts
vendored
@@ -662,8 +662,7 @@ declare module 'discord.js' {
|
||||
public fetchInvites(): Promise<Collection<string, Invite>>;
|
||||
public fetchPreview(): Promise<GuildPreview>;
|
||||
public fetchTemplates(): Promise<Collection<GuildTemplate['code'], GuildTemplate>>;
|
||||
public fetchVanityCode(): Promise<string>;
|
||||
public fetchVanityData(): Promise<{ code: string; uses: number }>;
|
||||
public fetchVanityData(): Promise<Vanity>;
|
||||
public fetchVoiceRegions(): Promise<Collection<string, VoiceRegion>>;
|
||||
public fetchWebhooks(): Promise<Collection<Snowflake, Webhook>>;
|
||||
public fetchWidget(): Promise<GuildWidget>;
|
||||
@@ -3359,6 +3358,11 @@ declare module 'discord.js' {
|
||||
|
||||
type UserResolvable = User | Snowflake | Message | GuildMember;
|
||||
|
||||
interface Vanity {
|
||||
code: string | null;
|
||||
uses: number | null;
|
||||
}
|
||||
|
||||
type VerificationLevel = 'NONE' | 'LOW' | 'MEDIUM' | 'HIGH' | 'VERY_HIGH';
|
||||
|
||||
type VoiceStatus = number;
|
||||
|
||||
Reference in New Issue
Block a user