Create Discord auto moderation rules from policy
Move a reviewed safety policy into a usable guild rule.
Trigger
Webhook received
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Action
Create guild auto moderation rule
Creates a new auto moderation rule for a discord guild, requiring 'manage guild' permission; rule parameters are passed in the json request body (see request schema description for body content).
Why this helps
Moderation policy is agreed in one place but never configured in Discord.
- Shorten policy rollout time
- Reduce configuration mistakes
- Create consistent moderation coverage
Setup
Build it in a few focused steps.
- 1Connect 0CodeKit and Discordbot once in Notis.
- 2Create an automation named Create Discord auto moderation rule.
- 3Tell Notis to use the validated policy output to create the specified rule in the target guild.
- 4Choose a notis_webhook trigger and select where run reports go.
- 5Send one approved policy payload and verify the rule.
Questions about this workflow
Can Notis create the rule from plain policy text?
Yes, if the instruction explains the required rule details and the payload contains enough information.
What permission is required?
The bot needs manage guild permission in the target guild.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link 0CodeKit to Discordbot. A trigger fires from one place; an action lands in another.
0CodeKit triggers
Discordbot actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Add recipient to group channel
Adds a user to a discord group direct message (dm) channel.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Update guild member information
Adds a user (who is not already a member) to a guild using their `access token` (which must have `guilds.join` scope), optionally setting nickname, roles, mute/deaf status, or flags.
Assign role to guild member
Assigns a role to a guild member, provided the bot has 'manage roles' permission in the guild and the role to be assigned is hierarchically lower than the bot's highest role.
Add reaction to message
Adds an emoji reaction from the authenticated user/bot to a specific message in a discord channel; does not return information about existing reactions.
Add or update thread member
Adds a user to a specific, unarchived thread; the user must have access to the thread's parent channel, and for private threads, the bot must already be a member.
Modify guild ban settings
Permanently bans a user from a discord guild, optionally deleting their recent messages (specify deletion period in seconds or days, not both).
Bulk ban users in guild with message deletion option
Bans up to 200 users from a discord guild, optionally deleting their recent messages; the bot must have 'ban members' permission in the guild, and this action is irreversible.
Bulk delete messages in channel
Atomically bulk deletes messages in a discord channel for moderation or maintenance; deletion may not be instantaneous and messages are unrecoverable.
Connect any two apps with Notis in the middle.
0CodeKit and Discordbot, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Discordbot.