Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Eris

Index

Classes

Interfaces

Type aliases

Variables

Type aliases

ActionRowComponents

ActionRowComponents: Button | SelectMenu

ActivityType

ActivityType: BotActivityType | Constants["ActivityTypes"]["CUSTOM"]

AnyApplicationCommand

AnyChannel

AnyGuildChannel

AnyInteraction

AnyThreadChannel

AnyVoiceChannel

AnyVoiceChannel: TextVoiceChannel | StageChannel

ApplicationCommandOptions

ApplicationCommandOptionsBoolean

ApplicationCommandOptionsBoolean: ApplicationCommandOption<Constants["ApplicationCommandOptionTypes"]["BOOLEAN"]>

ApplicationCommandOptionsChannel

ApplicationCommandOptionsChannel: ApplicationCommandOption<Constants["ApplicationCommandOptionTypes"]["CHANNEL"]>

ApplicationCommandOptionsInteger

ApplicationCommandOptionsIntegerWithAutocomplete

ApplicationCommandOptionsIntegerWithAutocomplete: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["INTEGER"]>, "choices" | "min_value" | "max_value"> & AutocompleteEnabled

ApplicationCommandOptionsIntegerWithMinMax

ApplicationCommandOptionsIntegerWithMinMax: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["INTEGER"]>, "choices" | "autocomplete"> & AutocompleteDisabledIntegerMinMax

ApplicationCommandOptionsIntegerWithoutAutocomplete

ApplicationCommandOptionsIntegerWithoutAutocomplete: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["INTEGER"]>, "autocomplete" | "min_value" | "max_value"> & AutocompleteDisabledInteger

ApplicationCommandOptionsMentionable

ApplicationCommandOptionsMentionable: ApplicationCommandOption<Constants["ApplicationCommandOptionTypes"]["MENTIONABLE"]>

ApplicationCommandOptionsNumber

ApplicationCommandOptionsNumberWithAutocomplete

ApplicationCommandOptionsNumberWithAutocomplete: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["NUMBER"]>, "choices" | "min_value" | "max_value"> & AutocompleteEnabled

ApplicationCommandOptionsNumberWithMinMax

ApplicationCommandOptionsNumberWithMinMax: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["NUMBER"]>, "choices" | "autocomplete"> & AutocompleteDisabledIntegerMinMax

ApplicationCommandOptionsNumberWithoutAutocomplete

ApplicationCommandOptionsNumberWithoutAutocomplete: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["NUMBER"]>, "autocomplete" | "min_value" | "max_value"> & AutocompleteDisabledInteger

ApplicationCommandOptionsRole

ApplicationCommandOptionsRole: ApplicationCommandOption<Constants["ApplicationCommandOptionTypes"]["ROLE"]>

ApplicationCommandOptionsString

ApplicationCommandOptionsStringWithAutocomplete

ApplicationCommandOptionsStringWithAutocomplete: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["STRING"]>, "choices"> & AutocompleteEnabled

ApplicationCommandOptionsStringWithoutAutocomplete

ApplicationCommandOptionsStringWithoutAutocomplete: Omit<ApplicationCommandOptionWithChoices<Constants["ApplicationCommandOptionTypes"]["STRING"]>, "autocomplete"> & AutocompleteDisabled

ApplicationCommandOptionsUser

ApplicationCommandOptionsUser: ApplicationCommandOption<Constants["ApplicationCommandOptionTypes"]["USER"]>

ApplicationCommandOptionsWithValue

ApplicationCommandPermissionTypes

ApplicationCommandPermissionTypes: Constants["ApplicationCommandPermissionTypes"][keyof Constants["ApplicationCommandPermissionTypes"]]

ApplicationCommandStructure

ApplicationCommandTypes

ApplicationCommandTypes: Constants["ApplicationCommandTypes"][keyof Constants["ApplicationCommandTypes"]]

AutoArchiveDuration

AutoArchiveDuration: 60 | 1440 | 4320 | 10080

BotActivityType

BotActivityType: Constants["ActivityTypes"][Exclude<keyof Constants["ActivityTypes"], "CUSTOM">]

Button

ButtonStyles

ButtonStyles: Constants["ButtonStyles"][keyof Constants["ButtonStyles"]]

ChannelTypes

ChatInputApplicationCommand

ChatInputApplicationCommand: ApplicationCommand<Constants["ApplicationCommandTypes"]["CHAT_INPUT"]>

ChatInputApplicationCommandStructure

ChatInputApplicationCommandStructure: Omit<ChatInputApplicationCommand, "id" | "application_id" | "guild_id">

CommandGenerator

CommandGeneratorFunction

CommandGeneratorFunction: (msg: Message, args: string[]) => GeneratorFunctionReturn

Type declaration

Component

ConnectionVisibilityTypes

ConnectionVisibilityTypes: Constants["ConnectionVisibilityTypes"][keyof Constants["ConnectionVisibilityTypes"]]

ConverterCommand

ConverterCommand: "./ffmpeg" | "./avconv" | "ffmpeg" | "avconv"

DefaultNotifications

DefaultNotifications: Constants["DefaultMessageNotificationLevels"][keyof Constants["DefaultMessageNotificationLevels"]]

ExplicitContentFilter

ExplicitContentFilter: Constants["ExplicitContentFilterLevels"][keyof Constants["ExplicitContentFilterLevels"]]

FriendSuggestionReasons

FriendSuggestionReasons: { name: string; platform_type: string; type: number }[]

GeneratorFunctionReturn

GeneratorFunctionReturn: Promise<MessageContent> | Promise<void> | MessageContent | void

GenericCheckFunction

GenericCheckFunction<T>: (msg: Message) => T | Promise<T>

Type parameters

  • T

Type declaration

    • Parameters

      Returns T | Promise<T>

GuildChannelTypes

GuildChannelTypes: Exclude<Constants["ChannelTypes"][keyof Constants["ChannelTypes"]], PrivateChannelTypes>

GuildFeatures

GuildFeatures: Constants["GuildFeatures"][number]

GuildIntegrationExpireBehavior

GuildIntegrationExpireBehavior: Constants["GuildIntegrationExpireBehavior"][keyof Constants["GuildIntegrationExpireBehavior"]]

GuildIntegrationTypes

GuildIntegrationTypes: Constants["GuildIntegrationTypes"][number]

GuildPublicThreadChannelTypes

GuildPublicThreadChannelTypes: Exclude<GuildThreadChannelTypes, Constants["ChannelTypes"]["GUILD_PRIVATE_THREAD"]>

GuildTextChannelTypes

GuildTextChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "GUILD_TEXT" | "GUILD_NEWS">]

GuildTextableChannel

GuildTextableChannel: TextChannel | TextVoiceChannel | NewsChannel

GuildTextableWithThread

GuildTextableWithThread: GuildTextableChannel | AnyThreadChannel

GuildThreadChannelTypes

GuildThreadChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "GUILD_NEWS_THREAD" | "GUILD_PRIVATE_THREAD" | "GUILD_PUBLIC_THREAD">]

ImageFormat

ImageFormat: Constants["ImageFormats"][number]

IntentStrings

IntentStrings: keyof Constants["Intents"]

InteractionCallbackData

InteractionCallbackData: InteractionAutocomplete | InteractionContent

InteractionContent

InteractionContent: Pick<WebhookPayload, "content" | "embeds" | "allowedMentions" | "tts" | "flags" | "components">

InteractionContentEdit

InteractionContentEdit: Pick<WebhookPayload, "content" | "embeds" | "allowedMentions" | "components">

InteractionDataOptions

InteractionDataOptionsBoolean

InteractionDataOptionsBoolean: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["BOOLEAN"], boolean>

InteractionDataOptionsChannel

InteractionDataOptionsChannel: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["CHANNEL"], string>

InteractionDataOptionsInteger

InteractionDataOptionsInteger: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["INTEGER"], number>

InteractionDataOptionsMentionable

InteractionDataOptionsMentionable: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["MENTIONABLE"], string>

InteractionDataOptionsNumber

InteractionDataOptionsNumber: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["NUMBER"], number>

InteractionDataOptionsRole

InteractionDataOptionsRole: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["ROLE"], string>

InteractionDataOptionsString

InteractionDataOptionsString: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["STRING"], string>

InteractionDataOptionsUser

InteractionDataOptionsUser: InteractionDataOptionWithValue<Constants["ApplicationCommandOptionTypes"]["USER"], string>

InteractionDataOptionsWithValue

InteractionResponseTypes

InteractionResponseTypes: Constants["InteractionResponseTypes"][keyof Constants["InteractionResponseTypes"]]

InteractionTypes

InteractionTypes: Constants["InteractionTypes"][keyof Constants["InteractionTypes"]]

InviteChannel

InviteTargetTypes

InviteTargetTypes: Constants["InviteTargetTypes"][keyof Constants["InviteTargetTypes"]]

MFALevel

MFALevel: Constants["MFALevels"][keyof Constants["MFALevels"]]

MessageActivityFlags

MessageActivityFlags: Constants["MessageActivityFlags"][keyof Constants["MessageActivityFlags"]]

MessageApplicationCommand

MessageApplicationCommand: Omit<ApplicationCommand<Constants["ApplicationCommandTypes"]["MESSAGE"]>, "description" | "options">

MessageApplicationCommandStructure

MessageApplicationCommandStructure: Omit<MessageApplicationCommand, "id" | "application_id" | "guild_id">

MessageContent

MessageContent: string | AdvancedMessageContent

MessageContentEdit

MessageContentEdit: string | AdvancedMessageContentEdit

MessageWebhookContent

MessageWebhookContent: Pick<WebhookPayload, "content" | "embeds" | "file" | "allowedMentions" | "components">

NSFWLevel

NSFWLevel: Constants["GuildNSFWLevels"][keyof Constants["GuildNSFWLevels"]]

PermissionType

PermissionType: Constants["PermissionOverwriteTypes"][keyof Constants["PermissionOverwriteTypes"]]

PossiblyUncachedGuild

PossiblyUncachedGuild: Guild | Uncached

PossiblyUncachedMessage

PossiblyUncachedMessage: Message | { channel: TextableChannel | { guild?: Uncached; id: string }; guildID?: string; id: string }

PossiblyUncachedTextable

PossiblyUncachedTextable: Textable | Uncached

PossiblyUncachedTextableChannel

PossiblyUncachedTextableChannel: TextableChannel | Uncached

PremiumTier

PremiumTier: Constants["PremiumTiers"][keyof Constants["PremiumTiers"]]

PremiumTypes

PremiumTypes: Constants["PremiumTypes"][keyof Constants["PremiumTypes"]]

PrivateChannelTypes

PrivateChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "DM" | "GROUP_DM">]

ReactionButtonsFilterFunction

ReactionButtonsFilterFunction: (msg: Message, emoji: Emoji, userID: string) => boolean

Type declaration

    • Parameters

      Returns boolean

ReactionButtonsGenerator

ReactionButtonsGeneratorFunction

ReactionButtonsGeneratorFunction: (msg: Message, args: string[], userID: string) => GeneratorFunctionReturn

Type declaration

ReconnectDelayFunction

ReconnectDelayFunction: (lastDelay: number, attempts: number) => number

Type declaration

    • (lastDelay: number, attempts: number): number
    • Parameters

      • lastDelay: number
      • attempts: number

      Returns number

RequestMethod

RequestMethod: "GET" | "PATCH" | "DELETE" | "POST" | "PUT"

SelfStatus

SelfStatus: Status | "invisible"

StageInstancePrivacyLevel

StageInstancePrivacyLevel: Constants["StageInstancePrivacyLevel"][keyof Constants["StageInstancePrivacyLevel"]]

Status

Status: "online" | "idle" | "dnd"

StickerFormats

StickerFormats: Constants["StickerFormats"][keyof Constants["StickerFormats"]]

StickerTypes

StickerTypes: Constants["StickerTypes"][keyof Constants["StickerTypes"]]

SystemChannelFlags

SystemChannelFlags: Constants["SystemChannelFlags"][keyof Constants["SystemChannelFlags"]]

TextChannelTypes

TextVoiceChannelTypes

TextVoiceChannelTypes: Constants["ChannelTypes"][keyof Pick<Constants["ChannelTypes"], "GUILD_VOICE" | "GUILD_STAGE">]

TextableChannel

UserApplicationCommand

UserApplicationCommand: Omit<ApplicationCommand<Constants["ApplicationCommandTypes"]["USER"]>, "description" | "options">

UserApplicationCommandStructure

UserApplicationCommandStructure: Omit<UserApplicationCommand, "id" | "application_id" | "guild_id">

UserStatus

UserStatus: Status | "offline"

VerificationLevel

VerificationLevel: Constants["VerificationLevels"][keyof Constants["VerificationLevels"]]

VideoQualityMode

VideoQualityMode: Constants["VideoQualityModes"][keyof Constants["VideoQualityModes"]]

WebhookTypes

WebhookTypes: Constants["WebhookTypes"][keyof Constants["WebhookTypes"]]

Variables

Const Constants

Constants: Constants

Const VERSION

VERSION: string

Generated using TypeDoc