Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Eris

Index

Classes

Interfaces

Type aliases

Variables

Type aliases

ActivityType

ActivityType: BotActivityType | 4

AdvancedMessageContent

AdvancedMessageContent: { allowedMentions?: AllowedMentions; content?: string; embed?: EmbedOptions; flags?: number; messageReference?: MessageReferenceReply; messageReferenceID?: string; tts?: boolean }

Type declaration

  • Optional allowedMentions?: AllowedMentions
  • Optional content?: string
  • Optional embed?: EmbedOptions
  • Optional flags?: number
  • Optional messageReference?: MessageReferenceReply
  • Optional messageReferenceID?: string
    deprecated
  • Optional tts?: boolean

AnyChannel

AnyGuildChannel

AnyVoiceChannel

AnyVoiceChannel: VoiceChannel | StageChannel

BotActivityType

BotActivityType: 0 | 1 | 2 | 3 | 5

ChannelTypes

ChannelTypes: Constants["ChannelTypes"][keyof Constants["ChannelTypes"]]

CommandGenerator

CommandGeneratorFunction

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

Type declaration

ConverterCommand

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

DefaultNotifications

DefaultNotifications: 0 | 1

ExplicitContentFilter

ExplicitContentFilter: 0 | 1 | 2

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>

GuildTextableChannel

GuildTextableChannel: TextChannel | NewsChannel

ImageFormat

ImageFormat: "jpg" | "jpeg" | "png" | "gif" | "webp"

IntentStrings

IntentStrings: keyof Constants["Intents"]

InteractionType

InteractionType: 1 | 2

InviteChannel

MFALevel

MFALevel: 0 | 1

MessageContent

MessageContent: string | AdvancedMessageContent

MessageWebhookContent

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

PermissionType

PermissionType: "role" | "member"

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: 0 | 1 | 2 | 3

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"

Status

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

TextableChannel

Uncached

Uncached: { id: string }

Type declaration

  • id: string

VerificationLevel

VerificationLevel: 0 | 1 | 2 | 3 | 4

VideoQualityMode

VideoQualityMode: 1 | 2

Variables

Const Constants

Constants: Constants

Const VERSION

VERSION: string

Generated using TypeDoc