Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StreamEvents<T>

Type parameters

  • T

Hierarchy

Callable

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

Generated using TypeDoc