ProtectMyTreasure was built with the intention of providing full control on what get's moderated by the bot to the guild owners. Instead of just providing a standard "No advertisements feature", ProtectMyTreasure provides an more advance feature. You can specifically control whether when someone sends an discord invite if you want the message deleted, the user kicked, the user warned, the user muted, or the user banned. ProtectMyTreasure will only moderate the "rules" you enable.
The advanced mod rule system can be used via
p!adv-modrule. The syntax for it is
p!adv-modrule <rule> <value>.
<rule> is replaced with the rule you want changed, you can get this via running just
p!adv-modrule to see a list of all nodes for the current root. Typing
p!adv-modrule <node> to see a list of all nodes contained inside the node. An example would be
p!adv-modrule message.spam.text, this would bring up a list of options for
message.spam.text. This node has no more nodes, but rather values you can set to true or false. For example
message.spam.text.delete is a value that can be set to true or false, if you set it to true. Any message that is counted as spam will be deleted. To set it to true, you must run
p!adv-modrule message.spam.text.delete true. There are various other rules you can set, you just have to explore it via
You can see a video of it here: https://www.youtube.com/watch?v=R0qknX2Zx8E
If the advanced mod rules feature confuses you, ProtectMyTreasure offers a more simple mod rules system much like the majority of moderation bots, you can see this simplified menu via
You can see a video of this here: https://www.youtube.com/watch?v=eFr3QWg6RZ4
This file cannot be displayed: https://storage.googleapis.com/replit/images/1543207562065_a9e0c0322cd2c1e9d8182119e6971a11.gi
message.spam.mentions.ban - Ban a user for spamming mentions.
message.spam.mentions.kick - Kick a user for spamming mentions.
message.spam.mentions.warn - Warn a user for spamming mentions.
message.spam.mentions.delete - Delete a message that spams mentions
message.spam.mentions.mute - Mutes a person from the channel they spammed mentions in.
message.spam.text.ban - Ban a user for spamming repetitive messages.
message.spam.text.kick - Kick a user for spamming repetitive messages.
message.spam.text.warn - Warn a user for spamming repetitive messages.
message.spam.text.delete - Delete a message that is a repetitive message
message.spam.mentions.mute - Mutes a person from the channel they spammed messages in.
message.capitals.warn - Warn a user for spamming capitals.
message.capitals.delete - Delete a message that spams capitals
message.capitals.mute - Mutes a person from the channel they spammed capitals in.
message.invite.ban - Ban a user for sending an invite.
message.invite.kick - Kick a user for sending an invite.
message.invite.warn - Warn a user for sending an invite.
message.invite.delete - Delete a message that contains an invite.
message.invite.mute - Mutes a person from the channel they sent an invite in.
message.badWords.ban - Ban a user for using inappropriate words.
message.badWords.kick - Kick a user for using inappropriate words.
message.badWords.warn - Warn a user for using inappropriate words.
message.badWords.delete - Delete a message that uses inappropriate words.
message.badWords.mute - Mutes a person from the channel they used inappropriate words in.
user.name.badWords.ban - Ban a user for having a name with inappropriate words.
user.name.badWords.kick - Kick a user for having a name with inappropriate words.
user.name.badWords.change - Censor a user's name upon them joining a guild or changing their nickname.
user.name.invite.ban - Ban a user for having an invite in their username.
user.name.invite.kick - Kick a user for having an invite in their username.
user.name.invite.change - Remove any invites from a user's name upon their join in a guild or nickname change.