typings(Guild): add fetchVanityCode

PR: #2732
Commit: f8057b01cb
This commit is contained in:
SpaceEEC
2018-08-18 17:22:57 +02:00
parent f8057b01cb
commit 7546ca3fe0

1
typings/index.d.ts vendored
View File

@@ -390,6 +390,7 @@ declare module 'discord.js' {
public fetchAuditLogs(options?: GuildAuditLogsFetchOptions): Promise<GuildAuditLogs>;
public fetchBans(): Promise<Collection<Snowflake, { user: User, reason: string }>>;
public fetchInvites(): Promise<Collection<string, Invite>>;
public fetchVanityCode(): Promise<string>;
public fetchVoiceRegions(): Promise<Collection<string, VoiceRegion>>;
public fetchWebhooks(): Promise<Collection<Snowflake, Webhook>>;
public iconURL(options?: AvatarOptions): string;