diff --git a/_examples/auto_moderation/example.go b/_examples/auto_moderation/example.go index 350fdf63..38fcd6a5 100644 --- a/_examples/auto_moderation/example.go +++ b/_examples/auto_moderation/example.go @@ -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)