Skip to content

Commit

Permalink
Add bsian's commits
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsshieh committed Aug 20, 2020
1 parent 18e140f commit 3536bd0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,6 @@ declare namespace Eris {
): Promise<Webhook>;
createGroupChannel(userIDs: string[]): Promise<GroupChannel>;
createGuild(name: string, options?: CreateGuildOptions): Promise<Guild>;
// EmojiOptions has options.icon. Supposed to be options.image
createGuildEmoji(guildID: string, options: EmojiOptions, reason?: string): Promise<Emoji>;
createMessage(channelID: string, content: MessageContent, file?: MessageFile | MessageFile[]): Promise<Message>;
createRole(guildID: string, options?: RoleOptions | Role, reason?: string): Promise<Role>;
Expand Down Expand Up @@ -1381,7 +1380,6 @@ declare namespace Eris {
leaveGuild(guildID: string): Promise<void>;
leaveVoiceChannel(channelID: string): void;
pinMessage(channelID: string, messageID: string): Promise<void>;
// Note: PruneMemberOptions is missing `computerPruneCount`
pruneMembers(guildID: string, options?: PruneMemberOptions): Promise<number>;
purgeChannel(
channelID: string,
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 3536bd0

Please sign in to comment.