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

Type declaration

  • Optional allowedMentions?: AllowedMentions
  • Optional content?: string
  • Optional embed?: EmbedOptions
  • Optional flags?: number
  • Optional tts?: boolean

AnyChannel

AnyGuildChannel

AnyInvite

BotActivityType

BotActivityType: 0 | 1 | 2 | 3

CommandGenerator

CommandGeneratorFunction

CommandGeneratorFunction: (msg: Message, args: string[]) => Promise<MessageContent> | Promise<void> | MessageContent | void

Type declaration

Emoji

Emoji: { animated: boolean; id: string; managed: boolean; require_colons: boolean; roles: string[]; user: { avatar: string; discriminator: string; id: string; name: string } } & EmojiBase

EmojiOptions

EmojiOptions: { roles?: string[] } & EmojiBase

FriendSuggestionReasons

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

GenericCheckFunction

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

Type parameters

  • T

Type declaration

GuildTextableChannel

GuildTextableChannel: TextChannel | NewsChannel

IntentStrings

IntentStrings: keyof Constants["Intents"]

MessageContent

MessageContent: string | AdvancedMessageContent

PossiblyUncachedMessage

PossiblyUncachedMessage: Message | { channel: TextableChannel | { id: string }; id: string }

RESTInvite

ReconnectDelayFunction

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

Type declaration

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

      • lastDelay: number
      • attempts: number

      Returns number

Status

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

TextableChannel

Variables

Constants

Constants: Constants

Const VERSION

VERSION: string

Generated using TypeDoc