Options
All
  • Public
  • Public/Protected
  • All
Menu

yuuko

Index

Type aliases

ClientOAuthApplication

ClientOAuthApplication: OAuthApplicationInfo

Information returned from the API about the bot's OAuth application.

deprecated

Use Eris.OAuthApplicationInfo instead (this is a direct alias)

Events

ClientEvents

  • ClientEvents(event: "commandLoaded", listener: (cmd: Command) => void): T
  • ClientEvents(event: "preCommand", listener: (cmd: Command, msg: Message<TextableChannel>, args: string[], ctx: CommandContext) => void): T
  • ClientEvents(event: "postCommand", listener: (cmd: Command, msg: Message<TextableChannel>, args: string[], ctx: CommandContext) => void): T
  • ClientEvents(event: "invalidCommand", listener: (msg: Message<TextableChannel>, args: string[], ctx: CommandContext) => void): T
  • ClientEvents(event: "shardReady" | "shardResume", listener: (id: number) => void): T
  • ClientEvents(event: "shardDisconnect", listener: (err: undefined | Error, id: number) => void): T
  • ClientEvents(event: "ready" | "disconnect", listener: () => void): T
  • ClientEvents(event: "callCreate" | "callRing" | "callDelete", listener: (call: Call) => void): T
  • ClientEvents(event: "callUpdate", listener: (call: Call, oldCall: OldCall) => void): T
  • ClientEvents(event: "channelCreate" | "channelDelete", listener: (channel: AnyChannel) => void): T
  • ClientEvents(event: "channelPinUpdate", listener: (channel: TextableChannel, timestamp: number, oldTimestamp: number) => void): T
  • ClientEvents(event: "channelRecipientAdd" | "channelRecipientRemove", listener: (channel: GroupChannel, user: User) => void): T
  • ClientEvents(event: "channelUpdate", listener: (channel: AnyGuildChannel, oldChannel: OldGuildChannel | OldGuildTextChannel | OldGuildVoiceChannel) => void): T
  • ClientEvents(event: "channelUpdate", listener: (channel: GroupChannel, oldChannel: OldGroupChannel) => void): T
  • ClientEvents(event: "connect" | "shardPreReady", listener: (id: number) => void): T
  • ClientEvents(event: "error", listener: (err: Error, id: number) => void): T
  • ClientEvents(event: "friendSuggestionCreate", listener: (user: User, reasons: FriendSuggestionReasons) => void): T
  • ClientEvents(event: "friendSuggestionDelete", listener: (user: User) => void): T
  • ClientEvents(event: "guildBanAdd" | "guildBanRemove", listener: (guild: Guild, user: User) => void): T
  • ClientEvents(event: "guildAvailable" | "guildCreate", listener: (guild: Guild) => void): T
  • ClientEvents(event: "guildDelete", listener: (guild: PossiblyUncachedGuild) => void): T
  • ClientEvents(event: "guildEmojisUpdate", listener: (guild: PossiblyUncachedGuild, emojis: Emoji[], oldEmojis: null | Emoji[]) => void): T
  • ClientEvents(event: "guildMemberAdd", listener: (guild: Guild, member: Member) => void): T
  • ClientEvents(event: "guildMemberChunk", listener: (guild: Guild, members: Member[]) => void): T
  • ClientEvents(event: "guildMemberRemove", listener: (guild: Guild, member: Member | MemberPartial) => void): T
  • ClientEvents(event: "guildMemberUpdate", listener: (guild: Guild, member: Member, oldMember: null | OldMember) => void): T
  • ClientEvents(event: "guildRoleCreate" | "guildRoleDelete", listener: (guild: Guild, role: Role) => void): T
  • ClientEvents(event: "guildRoleUpdate", listener: (guild: Guild, role: Role, oldRole: OldRole) => void): T
  • ClientEvents(event: "guildUnavailable" | "unavailableGuildCreate", listener: (guild: UnavailableGuild) => void): T
  • ClientEvents(event: "guildUpdate", listener: (guild: Guild, oldGuild: OldGuild) => void): T
  • ClientEvents(event: "hello", listener: (trace: string[], id: number) => void): T
  • ClientEvents(event: "inviteCreate" | "inviteDelete", listener: (guild: Guild, invite: Invite<"withMetadata", InviteChannel>) => void): T
  • ClientEvents(event: "messageCreate", listener: (message: Message<PossiblyUncachedTextableChannel>) => void): T
  • ClientEvents(event: "messageDelete" | "messageReactionRemoveAll", listener: (message: PossiblyUncachedMessage) => void): T
  • ClientEvents(event: "messageReactionRemoveEmoji", listener: (message: PossiblyUncachedMessage, emoji: PartialEmoji) => void): T
  • ClientEvents(event: "messageDeleteBulk", listener: (messages: PossiblyUncachedMessage[]) => void): T
  • ClientEvents(event: "messageReactionAdd", listener: (message: PossiblyUncachedMessage, emoji: PartialEmoji, reactor: Uncached | Member) => void): T
  • ClientEvents(event: "messageReactionRemove", listener: (message: PossiblyUncachedMessage, emoji: PartialEmoji, userID: string) => void): T
  • ClientEvents(event: "messageUpdate", listener: (message: Message<PossiblyUncachedTextableChannel>, oldMessage: null | OldMessage) => void): T
  • ClientEvents(event: "presenceUpdate", listener: (other: Member | Relationship, oldPresence: null | Presence) => void): T
  • ClientEvents(event: "rawREST", listener: (request: RawRESTRequest) => void): T
  • ClientEvents(event: "rawWS" | "unknown", listener: (packet: RawPacket, id: number) => void): T
  • ClientEvents(event: "relationshipAdd" | "relationshipRemove", listener: (relationship: Relationship) => void): T
  • ClientEvents(event: "relationshipUpdate", listener: (relationship: Relationship, oldRelationship: { type: number }) => void): T
  • ClientEvents(event: "typingStart", listener: (channel: Uncached | TextChannel | NewsChannel, user: Uncached | User, member: Member) => void): T
  • ClientEvents(event: "typingStart", listener: (channel: Uncached | PrivateChannel, user: Uncached | User, member: null) => void): T
  • ClientEvents(event: "userUpdate", listener: (user: User, oldUser: null | PartialUser) => void): T
  • ClientEvents(event: "voiceChannelJoin" | "voiceChannelLeave", listener: (member: Member, channel: AnyVoiceChannel) => void): T
  • ClientEvents(event: "voiceChannelSwitch", listener: (member: Member, newChannel: AnyVoiceChannel, oldChannel: AnyVoiceChannel) => void): T
  • ClientEvents(event: "voiceStateUpdate", listener: (member: Member, oldState: OldVoiceState) => void): T
  • ClientEvents(event: "warn" | "debug", listener: (message: string, id: number) => void): T
  • ClientEvents(event: "webhooksUpdate", listener: (data: WebhookData) => void): T
  • ClientEvents(event: string, listener: (...args: any[]) => void): T

Functions

Eris

Eris:

Generated using TypeDoc