Skip to content

Commit

Permalink
types: nullify first parameter of autoModerationRuleUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Jun 6, 2022
1 parent 3e9761b commit 7cd55a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/discord.js/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3871,7 +3871,7 @@ export interface ChannelWebhookCreateOptions {
export interface ClientEvents {
autoModerationRuleCreate: [autoModRule: AutoModRule];
autoModerationRuleDelete: [autoModRule: AutoModRule];
autoModerationRuleUpdate: [oldAutoModRule: AutoModRule, newAutoModRule: AutoModRule];
autoModerationRuleUpdate: [oldAutoModRule: AutoModRule | null, newAutoModRule: AutoModRule];
cacheSweep: [message: string];
channelCreate: [channel: NonThreadGuildBasedChannel];
channelDelete: [channel: DMChannel | NonThreadGuildBasedChannel];
Expand Down

0 comments on commit 7cd55a8

Please sign in to comment.