import { type EventHandlers } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";
Properties
threadMemberUpdate: (bot: Bot, payload: { id: bigint; guildId: bigint; joinedAt: number; flags: number; }) => unknown
threadMembersUpdate: (bot: Bot, payload: { id: bigint; guildId: bigint; addedMembers?: ThreadMember[]; removedMemberIds?: bigint[]; }) => unknown
scheduledEventCreate: (bot: Bot, event: ScheduledEvent) => unknown
scheduledEventUpdate: (bot: Bot, event: ScheduledEvent) => unknown
scheduledEventDelete: (bot: Bot, event: ScheduledEvent) => unknown
scheduledEventUserAdd: (bot: Bot, payload: { guildScheduledEventId: bigint; guildId: bigint; userId: bigint; }) => unknown
Sent when a user has subscribed to a guild scheduled event. EXPERIMENTAL!
scheduledEventUserRemove: (bot: Bot, payload: { guildScheduledEventId: bigint; guildId: bigint; userId: bigint; }) => unknown
Sent when a user has unsubscribed to a guild scheduled event. EXPERIMENTAL!
ready: () => any
bot: Bot,
payload: { shardId: number; v: number; user: User; guilds: bigint[]; sessionId: string; shard?: number[]; applicationId: bigint; },
rawPayload: DiscordReady,
interactionCreate: (bot: Bot, interaction: Interaction) => any
integrationCreate: (bot: Bot, integration: Integration) => any
integrationDelete: (bot: Bot, payload: { id: bigint; guildId: bigint; applicationId?: bigint; }) => any
integrationUpdate: (bot: Bot, payload: { guildId: bigint; }) => any
inviteDelete: (bot: Bot, payload: { channelId: bigint; guildId?: bigint; code: string; }) => any
messageDeleteBulk: (bot: Bot, payload: { ids: bigint[]; channelId: bigint; guildId?: bigint; }) => any
reactionRemoveAll: (bot: Bot, payload: { channelId: bigint; messageId: bigint; guildId?: bigint; }) => any
voiceServerUpdate: (bot: Bot, payload: { token: string; endpoint?: string; guildId: bigint; }) => any
voiceStateUpdate: (bot: Bot, voiceState: VoiceState) => any
channelPinsUpdate: (bot: Bot, data: { guildId?: bigint; channelId: bigint; lastPinTimestamp?: number; }) => any
stageInstanceCreate: (bot: Bot, data: { id: bigint; guildId: bigint; channelId: bigint; topic: string; }) => any
stageInstanceDelete: (bot: Bot, data: { id: bigint; guildId: bigint; channelId: bigint; topic: string; }) => any
stageInstanceUpdate: (bot: Bot, data: { id: bigint; guildId: bigint; channelId: bigint; topic: string; }) => any
guildEmojisUpdate: (bot: Bot, payload: { guildId: bigint; emojis: Collection<bigint, DiscordEmoji>; }) => any
roleDelete: (bot: Bot, payload: { guildId: bigint; roleId: bigint; }) => any
webhooksUpdate: (bot: Bot, payload: { channelId: bigint; guildId: bigint; }) => any