Skip to content

Commit

Permalink
fix automod example
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Nov 4, 2022
1 parent 903df64 commit d64d5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _examples/auto_moderation/example.go
Expand Up @@ -82,7 +82,7 @@ func showCaseAutoMod(client bot.Client) {
Type: discord.AutoModerationActionTypeBlockMessage,
},
},
Enabled: true,
Enabled: json.NewPtr(true),
})
if err != nil {
log.Error("error while creating rule: ", err)
Expand Down

0 comments on commit d64d5eb

Please sign in to comment.