Skip to content

Commit

Permalink
Oops, linted ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed Jul 26, 2021
1 parent 018c592 commit f8f5d8d
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1362,25 +1362,25 @@ declare namespace Eris {
DISCONNECT: 13;
};
CommandOptionTypes: {
SUB_COMMAND: 1;
SUB_COMMAND_GROUP: 2;
STRING: 3;
INTEGER: 4;
BOOLEAN: 5;
USER: 6;
CHANNEL: 7;
ROLE: 8;
MENTIONABLE: 9;
};
CommandPermissionTypes: {
ROLE: 1;
USER: 2;
};
CommandTypes: {
COMMAND: 1;
USER: 2;
MESSAGE: 3;
};
SUB_COMMAND: 1;
SUB_COMMAND_GROUP: 2;
STRING: 3;
INTEGER: 4;
BOOLEAN: 5;
USER: 6;
CHANNEL: 7;
ROLE: 8;
MENTIONABLE: 9;
};
CommandPermissionTypes: {
ROLE: 1;
USER: 2;
};
CommandTypes: {
COMMAND: 1;
USER: 2;
MESSAGE: 3;
};
}

// Selfbot
Expand Down Expand Up @@ -1686,25 +1686,16 @@ declare namespace Eris {
createGuild(name: string, options?: CreateGuildOptions): Promise<Guild>;
createGuildCommand(guildID: string, command: SlashCommandStructure): Promise<SlashCommand>;
createGuildEmoji(guildID: string, options: EmojiOptions, reason?: string): Promise<Emoji>;
deleteCommand(commandID: string): Promise<void>;
createGuildFromTemplate(code: string, name: string, icon?: string): Promise<Guild>;
deleteGuildCommand(guildID: string, commandID: string): Promise<void>;
editCommand(commandID: string, command: SlashCommandStructure): Promise<SlashCommand>;
createGuildTemplate(guildID: string, name: string, description?: string | null): Promise<GuildTemplate>;
editCommandPermissions(guildID: string, commandID: string, permissions: SlashCommandPermissions[]): Promise<GuildSlashCommandPermissions>;
editGuildCommand(guildID: string, commandID: string, command: SlashCommandStructure): Promise<SlashCommand>;
createMessage(channelID: string, content: MessageContent, file?: MessageFile | MessageFile[]): Promise<Message>;
getCommand(commandID: string): Promise<SlashCommand>;
getCommandPermissions(guildID: string, commandID: string): Promise<GuildSlashCommandPermissions>;
createRole(guildID: string, options?: RoleOptions | Role, reason?: string): Promise<Role>;
getCommands(): Promise<SlashCommand[]>;
getGuildCommand(guildID: string, commandID: string): Promise<SlashCommand>;
crosspostMessage(channelID: string, messageID: string): Promise<Message>;
getGuildCommandPermissions(guildID: string): Promise<GuildSlashCommandPermissions[]>;
getGuildCommands(guildID: string): Promise<SlashCommand[]>;
deleteChannel(channelID: string, reason?: string): Promise<void>;
deleteChannelPermission(channelID: string, overwriteID: string, reason?: string): Promise<void>;
deleteCommand(commandID: string): Promise<void>;
deleteGuild(guildID: string): Promise<void>;
deleteGuildCommand(guildID: string, commandID: string): Promise<void>;
deleteGuildDiscoverySubcategory(guildID: string, categoryID: string, reason?: string): Promise<void>;
deleteGuildEmoji(guildID: string, emojiID: string, reason?: string): Promise<void>;
deleteGuildIntegration(guildID: string, integrationID: string): Promise<void>;
Expand Down Expand Up @@ -1735,7 +1726,10 @@ declare namespace Eris {
reason?: string
): Promise<void>;
editChannelPosition(channelID: string, position: number, options?: EditChannelPositionOptions): Promise<void>;
editCommand(commandID: string, command: SlashCommandStructure): Promise<SlashCommand>;
editCommandPermissions(guildID: string, commandID: string, permissions: SlashCommandPermissions[]): Promise<GuildSlashCommandPermissions>;
editGuild(guildID: string, options: GuildOptions, reason?: string): Promise<Guild>;
editGuildCommand(guildID: string, commandID: string, command: SlashCommandStructure): Promise<SlashCommand>;
editGuildDiscovery(guildID: string, options?: DiscoveryOptions): Promise<DiscoveryMetadata>;
editGuildEmoji(
guildID: string,
Expand Down Expand Up @@ -1789,6 +1783,9 @@ declare namespace Eris {
getChannel(channelID: string): AnyChannel;
getChannelInvites(channelID: string): Promise<Invite[]>;
getChannelWebhooks(channelID: string): Promise<Webhook[]>;
getCommand(commandID: string): Promise<SlashCommand>;
getCommandPermissions(guildID: string, commandID: string): Promise<GuildSlashCommandPermissions>;
getCommands(): Promise<SlashCommand[]>;
getDiscoveryCategories(): Promise<DiscoveryCategory[]>;
getDMChannel(userID: string): Promise<PrivateChannel>;
getEmojiGuild(emojiID: string): Promise<Guild>;
Expand All @@ -1798,6 +1795,9 @@ declare namespace Eris {
getGuildAuditLogs(guildID: string, limit?: number, before?: string, actionType?: number, userID?: string): Promise<GuildAuditLog>;
getGuildBan(guildID: string, userID: string): Promise<{ reason?: string; user: User }>;
getGuildBans(guildID: string): Promise<{ reason?: string; user: User }[]>;
getGuildCommand(guildID: string, commandID: string): Promise<SlashCommand>;
getGuildCommandPermissions(guildID: string): Promise<GuildSlashCommandPermissions[]>;
getGuildCommands(guildID: string): Promise<SlashCommand[]>;
getGuildDiscovery(guildID: string): Promise<DiscoveryMetadata>;
/** @deprecated */
getGuildEmbed(guildID: string): Promise<Widget>;
Expand Down Expand Up @@ -2092,15 +2092,8 @@ declare namespace Eris {
bulkEditCommands(commands: SlashCommandStructure[]): Promise<SlashCommand[]>;
createChannel(name: string): Promise<TextChannel>;
createChannel(name: string, type: 0, options?: CreateChannelOptions): Promise<TextChannel>;
createCommand(command: SlashCommandStructure): Promise<SlashCommand>;
createChannel(name: string, type: 2, options?: CreateChannelOptions): Promise<VoiceChannel>;
deleteCommand(commandID: string): Promise<void>;
editCommand(commandID: string, command: SlashCommandStructure): Promise<SlashCommand>;
createChannel(name: string, type: 4, options?: CreateChannelOptions): Promise<CategoryChannel>;
editCommandPermissions(permissions: SlashCommandPermissions[]): Promise<GuildSlashCommandPermissions[]>;
getCommand(commandID: string): Promise<SlashCommand>;
getCommands(): Promise<SlashCommand[]>;
getCommandPermissions(): Promise<GuildSlashCommandPermissions[]>;
createChannel(name: string, type: 5, options?: CreateChannelOptions | string): Promise<NewsChannel>;
createChannel(name: string, type: 6, options?: CreateChannelOptions | string): Promise<StoreChannel>;
createChannel(name: string, type: 13, options?: CreateChannelOptions | string): Promise<StageChannel>;
Expand All @@ -2119,10 +2112,12 @@ declare namespace Eris {
createChannel(name: string, type: 13, reason?: string, options?: CreateChannelOptions | string): Promise<StageChannel>;
/** @deprecated */
createChannel(name: string, type?: number, reason?: string, options?: CreateChannelOptions | string): Promise<unknown>;
createCommand(command: SlashCommandStructure): Promise<SlashCommand>;
createEmoji(options: { image: string; name: string; roles?: string[] }, reason?: string): Promise<Emoji>;
createRole(options: RoleOptions | Role, reason?: string): Promise<Role>;
createTemplate(name: string, description?: string | null): Promise<GuildTemplate>;
delete(): Promise<void>;
deleteCommand(commandID: string): Promise<void>;
deleteDiscoverySubcategory(categoryID: string, reason?: string): Promise<void>;
deleteEmoji(emojiID: string, reason?: string): Promise<void>;
deleteIntegration(integrationID: string): Promise<void>;
Expand All @@ -2133,6 +2128,8 @@ declare namespace Eris {
dynamicIconURL(format?: ImageFormat, size?: number): string;
dynamicSplashURL(format?: ImageFormat, size?: number): string;
edit(options: GuildOptions, reason?: string): Promise<Guild>;
editCommand(commandID: string, command: SlashCommandStructure): Promise<SlashCommand>;
editCommandPermissions(permissions: SlashCommandPermissions[]): Promise<GuildSlashCommandPermissions[]>;
editDiscovery(options?: DiscoveryOptions): Promise<DiscoveryMetadata>;
editEmoji(emojiID: string, options: { name: string; roles?: string[] }, reason?: string): Promise<Emoji>;
editIntegration(integrationID: string, options: IntegrationOptions): Promise<void>;
Expand All @@ -2151,6 +2148,9 @@ declare namespace Eris {
getAuditLogs(limit?: number, before?: string, actionType?: number, userID?: string): Promise<GuildAuditLog>;
getBan(userID: string): Promise<{ reason?: string; user: User }>;
getBans(): Promise<{ reason?: string; user: User }[]>;
getCommand(commandID: string): Promise<SlashCommand>;
getCommandPermissions(): Promise<GuildSlashCommandPermissions[]>;
getCommands(): Promise<SlashCommand[]>;
getDiscovery(): Promise<DiscoveryMetadata>;
/** @deprecated */
getEmbed(): Promise<Widget>;
Expand Down

0 comments on commit f8f5d8d

Please sign in to comment.