Configuration
How to configure and create rules in Advanced Automod.
Configuration
Advanced Automod uses a rule-based system to monitor and manage your server.
General Settings
LICENSE_KEY: Your plugin license key.ignored: Define categories, roles, channels, or users that the auto-mod should skip.
Creating Rules
Rules are defined in the rules section. Each rule has a custom key (e.g., excessive_emojis) and several components:
rules: {
my_custom_rule: {
name: "Rule Name",
enabled: true,
management: {
type: "message", // "emoji", "ping", or "message"
action: [
{ type: "delete" },
{ type: "mute", duration: "1h" }
],
guide: {
messages: ["badword"], // If type is "message"
regex: "regex_pattern" // If type is "message"
}
},
response: {
type: "REPLY", // "DM" or "REPLY"
message: {
predefined_id: "my_message_id",
buttons: {
name: "Click me",
backbutton: true // Navigates to the parent message
}
}
}
}
}Management Types and Guides
- Emoji: Use
emoji_limitandignored_emojisin the guide. - Ping: Use
ping_limitandignored_pingsin the guide. - Message: Use
messages(list of words) orregexfor detection.
Actions
Supported actions include delete, warn, mute, kick, and ban. You can provide a duration (e.g., 1h, 1d) for mutes and bans.
Responses
You can send a predefined_id (from your Embeds database) as a reply or DM when a rule is triggered. Interactive buttons can be added to these responses, including backbutton: true for multi-page navigation.

