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; messageReferenceID?: string; tts?: boolean }

Type declaration

  • Optional allowedMentions?: AllowedMentions
  • Optional content?: string
  • Optional embed?: EmbedOptions
  • Optional flags?: number
  • Optional messageReferenceID?: string
  • 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"

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"]

InviteChannel

MessageContent

MessageContent: string | AdvancedMessageContent

MessageWebhookContent

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

PermissionType

PermissionType: "role" | "member"

PossiblyUncachedGuild

PossiblyUncachedGuild: Guild | { id: string }

PossiblyUncachedMessage

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

PossiblyUncachedTextable

PossiblyUncachedTextable: Textable | { id: string }

PossiblyUncachedTextableChannel

PossiblyUncachedTextableChannel: TextableChannel | { id: string }

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

Variables

Const Constants

Constants: Constants

Const VERSION

VERSION: string

Generated using TypeDoc