Interface BotHookArguments

Hierarchy

Properties

applicationCommandPermissionsUpdate: [data: ApplicationCommandPermissionsUpdateData]
autoModerationActionExecution: [autoModerationActionExecution: AutoModerationActionExecution]
autoModerationRuleCreate: [autoModerationRule: AutoModerationRule]
autoModerationRuleDelete: [autoModerationRule: AutoModerationRule]
autoModerationRuleUpdate: [oldAutoModerationRule: null | AutoModerationRule, newAutoModerationRule: AutoModerationRule]
cacheSweep: [message: string]
channelCreate: [channel: NonThreadGuildBasedChannel]
channelDelete: [channel: DMChannel | NonThreadGuildBasedChannel]
channelPinsUpdate: [channel: TextBasedChannel, date: Date]
channelUpdate: [oldChannel: DMChannel | NonThreadGuildBasedChannel, newChannel: DMChannel | NonThreadGuildBasedChannel]
debug: [message: string]
emojiCreate: [emoji: GuildEmoji]
emojiDelete: [emoji: GuildEmoji]
emojiUpdate: [oldEmoji: GuildEmoji, newEmoji: GuildEmoji]
entitlementCreate: [entitlement: Entitlement]
entitlementDelete: [entitlement: Entitlement]
entitlementUpdate: [oldEntitlement: null | Entitlement, newEntitlement: Entitlement]
error: [error: Error]
guildAvailable: [guild: Guild]
guildBanAdd: [ban: GuildBan]
guildBanRemove: [ban: GuildBan]
guildCreate: [guild: Guild]
guildDelete: [guild: Guild]
guildIntegrationsUpdate: [guild: Guild]
guildMemberAdd: [member: GuildMember]
guildMemberAvailable: [member: GuildMember | PartialGuildMember]
guildMemberRemove: [member: GuildMember | PartialGuildMember]
guildMemberUpdate: [oldMember: GuildMember | PartialGuildMember, newMember: GuildMember]
guildMembersChunk: [members: ReadonlyCollection<string, GuildMember>, guild: Guild, data: GuildMembersChunk]
guildScheduledEventCreate: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>]
guildScheduledEventDelete: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus> | PartialGuildScheduledEvent]
guildScheduledEventUpdate: [oldGuildScheduledEvent: null | GuildScheduledEvent<GuildScheduledEventStatus> | PartialGuildScheduledEvent, newGuildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus>]
guildScheduledEventUserAdd: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus> | PartialGuildScheduledEvent, user: User]
guildScheduledEventUserRemove: [guildScheduledEvent: GuildScheduledEvent<GuildScheduledEventStatus> | PartialGuildScheduledEvent, user: User]
guildUnavailable: [guild: Guild]
guildUpdate: [oldGuild: Guild, newGuild: Guild]
interactionCreate: [interaction: Interaction<CacheType>]
invalidated: []
inviteCreate: [invite: Invite]
inviteDelete: [invite: Invite]
messageCommand: [interaction: MessageContextMenuCommandInteraction<CacheType>, command: MessageCommand]
messageCreate: [message: NonPartialGroupDMChannel<Message<boolean>>]
messageDelete: [message: NonPartialGroupDMChannel<Message<boolean> | PartialMessage>]
messageDeleteBulk: [messages: ReadonlyCollection<string, NonPartialGroupDMChannel<Message<boolean> | PartialMessage>>, channel: GuildTextBasedChannel]
messagePollVoteAdd: [pollAnswer: PollAnswer, userId: string]
messagePollVoteRemove: [pollAnswer: PollAnswer, userId: string]
messageReactionAdd: [reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser, details: MessageReactionEventDetails]
messageReactionRemove: [reaction: MessageReaction | PartialMessageReaction, user: User | PartialUser, details: MessageReactionEventDetails]
messageReactionRemoveAll: [message: NonPartialGroupDMChannel<Message<boolean> | PartialMessage>, reactions: ReadonlyCollection<string, MessageReaction>]
messageReactionRemoveEmoji: [reaction: MessageReaction | PartialMessageReaction]
messageUpdate: [oldMessage: Message<boolean> | PartialMessage, newMessage: Message<boolean> | PartialMessage]
modalReceiver: [interaction: ModalSubmitInteraction<CacheType>, modalReceiver: ModalReceiver]
prefixCommand: [message: Message<boolean>, command: PrefixCommand]
presenceUpdate: [oldPresence: null | Presence, newPresence: Presence]
ready: [client: Client<true>]
roleCreate: [role: Role]
roleDelete: [role: Role]
roleUpdate: [oldRole: Role, newRole: Role]
shardDisconnect: [closeEvent: CloseEvent, shardId: number]
shardError: [error: Error, shardId: number]
shardReady: [shardId: number, unavailableGuilds: Set<string>]
shardReconnecting: [shardId: number]
shardResume: [shardId: number, replayedEvents: number]
slashCommand: [interaction: ChatInputCommandInteraction<CacheType>, command: SlashCommand]
stageInstanceCreate: [stageInstance: StageInstance]
stageInstanceDelete: [stageInstance: StageInstance]
stageInstanceUpdate: [oldStageInstance: null | StageInstance, newStageInstance: StageInstance]
stickerCreate: [sticker: Sticker]
stickerDelete: [sticker: Sticker]
stickerUpdate: [oldSticker: Sticker, newSticker: Sticker]
threadCreate: [thread: AnyThreadChannel, newlyCreated: boolean]
threadDelete: [thread: AnyThreadChannel]
threadListSync: [threads: ReadonlyCollection<string, AnyThreadChannel>, guild: Guild]
threadMemberUpdate: [oldMember: ThreadMember<boolean>, newMember: ThreadMember<boolean>]
threadMembersUpdate: [addedMembers: ReadonlyCollection<string, ThreadMember<boolean>>, removedMembers: ReadonlyCollection<string, ThreadMember<boolean> | PartialThreadMember>, thread: AnyThreadChannel]
threadUpdate: [oldThread: AnyThreadChannel, newThread: AnyThreadChannel]
typingStart: [typing: Typing]
userCommand: [interaction: UserContextMenuCommandInteraction<CacheType>, command: UserCommand]
userUpdate: [oldUser: User | PartialUser, newUser: User]
voiceStateUpdate: [oldState: VoiceState, newState: VoiceState]
warn: [message: string]

Deprecated

Use webhooksUpdate instead.

webhooksUpdate: [channel: NewsChannel | TextChannel | VoiceChannel | ForumChannel | MediaChannel]

Generated using TypeDoc