From 3536bd0e88143c1455a7dd3ae36bbce60705323a Mon Sep 17 00:00:00 2001 From: Justin <27078349+jtsshieh@users.noreply.github.com> Date: Thu, 20 Aug 2020 16:02:09 -0400 Subject: [PATCH] Add bsian's commits --- index.d.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.d.ts b/index.d.ts index e424b3d81..b86619b4e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1217,7 +1217,6 @@ declare namespace Eris { ): Promise; createGroupChannel(userIDs: string[]): Promise; createGuild(name: string, options?: CreateGuildOptions): Promise; - // EmojiOptions has options.icon. Supposed to be options.image createGuildEmoji(guildID: string, options: EmojiOptions, reason?: string): Promise; createMessage(channelID: string, content: MessageContent, file?: MessageFile | MessageFile[]): Promise; createRole(guildID: string, options?: RoleOptions | Role, reason?: string): Promise; @@ -1381,7 +1380,6 @@ declare namespace Eris { leaveGuild(guildID: string): Promise; leaveVoiceChannel(channelID: string): void; pinMessage(channelID: string, messageID: string): Promise; - // Note: PruneMemberOptions is missing `computerPruneCount` pruneMembers(guildID: string, options?: PruneMemberOptions): Promise; purgeChannel( channelID: string, @@ -1689,8 +1687,8 @@ declare namespace Eris { splash: string | null; splashURL: string | null; constructor(data: BaseData, client: Client); - dynamicIconURL(format?: string, size?: number): string; - dynamicSplashURL(format?: string, size?: number): string; + dynamicIconURL(format?: ImageFormat, size?: number): string; + dynamicSplashURL(format?: ImageFormat, size?: number): string; } export class Invite extends Base {