Skip to content

Commit

Permalink
fix(Typings): GuildPreview#features and Integration#type (#4080)
Browse files Browse the repository at this point in the history
* fix(Typings): make GuildPreview#features an array

* fix(Typings): make Integration#type a string
  • Loading branch information
cherryblossom000 authored Apr 16, 2020
1 parent 72a7f2b commit 72a33cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ declare module 'discord.js' {
public description?: string;
public discoverySplash: string | null;
public emojis: Collection<Snowflake, GuildPreviewEmoji>;
public features: GuildFeatures;
public features: GuildFeatures[];
public icon: string | null;
public id: string;
public name: string;
Expand Down Expand Up @@ -861,7 +861,7 @@ declare module 'discord.js' {
public role: Role;
public syncedAt: number;
public syncing: boolean;
public type: number;
public type: string;
public user: User;
public delete(reason?: string): Promise<Integration>;
public edit(data: IntegrationEditData, reason?: string): Promise<Integration>;
Expand Down

0 comments on commit 72a33cb

Please sign in to comment.