import { type EventHandlers } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";
Properties
scheduledEventCreate: (bot: Bot, event: DiscordenoScheduledEvent) => unknown
scheduledEventUpdate: (bot: Bot, event: DiscordenoScheduledEvent) => unknown
scheduledEventDelete: (bot: Bot, event: DiscordenoScheduledEvent) => 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: DiscordenoUser; guilds: bigint[]; sessionId: string; shard?: number[]; applicationId: bigint; },
rawPayload: DiscordReady,
interactionCreate: (bot: Bot, interaction: DiscordenoInteraction) => any
integrationCreate: (bot: Bot, integration: DiscordenoIntegration) => any
integrationDelete: (bot: Bot, payload: { id: bigint; guildId: bigint; applicationId?: bigint; }) => any
integrationUpdate: (bot: Bot, payload: { guildId: bigint; }) => any
inviteCreate: (bot: Bot, invite: DiscordenoInvite) => any
inviteDelete: (bot: Bot, payload: { channelId: bigint; guildId?: bigint; code: string; }) => any
messageCreate: (bot: Bot, message: DiscordenoMessage) => any
reactionAdd: (bot: Bot, payload: { userId: bigint; channelId: bigint; messageId: bigint; guildId?: bigint; member?: DiscordenoMember; emoji: DiscordenoEmoji; }) => any
reactionRemove: (bot: Bot, payload: { userId: bigint; channelId: bigint; messageId: bigint; guildId?: bigint; emoji: DiscordenoEmoji; }) => any
reactionRemoveEmoji: (bot: Bot, payload: { channelId: bigint; messageId: bigint; guildId?: bigint; emoji: DiscordenoEmoji; }) => 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: { guildId?: bigint; channelId?: bigint; userId: bigint; member?: DiscordenoMember; user?: DiscordenoUser; sessionId: string; deaf: boolean; mute: boolean; selfDeaf: boolean; selfMute: boolean; selfStream?: boolean; selfVideo: boolean; suppress: boolean; requestToSpeakTimestamp?: number; }) => any
channelCreate: (bot: Bot, channel: DiscordenoChannel) => any
channelDelete: (bot: Bot, channel: DiscordenoChannel) => any
channelPinsUpdate: (bot: Bot, data: { guildId?: bigint; channelId: bigint; lastPinTimestamp?: number; }) => any
channelUpdate: (bot: Bot, channel: DiscordenoChannel) => any
stageInstanceCreate: (bot: Bot, data: { id: bigint; guildId: bigint; channelId: bigint; topic: string; privacyLevel: number; discoverableDisabled: boolean; }) => any
stageInstanceDelete: (bot: Bot, data: { id: bigint; guildId: bigint; channelId: bigint; topic: string; privacyLevel: number; discoverableDisabled: boolean; }) => any
stageInstanceUpdate: (bot: Bot, data: { id: bigint; guildId: bigint; channelId: bigint; topic: string; privacyLevel: number; discoverableDisabled: boolean; }) => any
guildEmojisUpdate: (bot: Bot, payload: { guildId: bigint; emojis: Collection<bigint, Emoji>; }) => any
guildLoaded: (bot: Bot, guild: DiscordenoGuild) => any
guildCreate: (bot: Bot, guild: DiscordenoGuild) => any
guildUpdate: (bot: Bot, guild: DiscordenoGuild) => any
roleCreate: (bot: Bot, role: DiscordenoRole) => any
roleDelete: (bot: Bot, payload: { guildId: bigint; roleId: bigint; }) => any
roleUpdate: (bot: Bot, role: DiscordenoRole) => any
webhooksUpdate: (bot: Bot, payload: { channelId: bigint; guildId: bigint; }) => any
botUpdate: (bot: Bot, user: DiscordenoUser) => any
typingStart: (bot: Bot, payload: { guildId: bigint | undefined; channelId: bigint; userId: bigint; timestamp: number; member: DiscordenoMember | undefined; }) => any