ANTIMENTION
On this tutorial we use the default prefix, but have in mind that you may have /can change it.
Do you have people addicted to mention severally to annoy or do you have raiders mentioning all the users available scary/annoying “everyone”? This is your tool.
If you have read the sequence of the blog probably you already know what to do...
Run
;antimention
After
;antimention enable
Later
;antimention config
The available configurations are:
Everyone
Determines whether action should be taken if a user tries to ping everyone (Only for users without permission.)
;antimention everyone enable/disable
Default: Enabled
Recommended: Enabled
User
The maximum number of user mentions allowed in a message
;antimention user [new count]
Range: 1-50
Default: 4
Recommended: Up to your own criteria
Role
The maximum number of role mentions allowed in a message
;antimention role [new count]
Range: 1-50
Default: 4
Recommended: Up to your own criteria
Ignored-users
The users will be ignored by the anti-mention filter.
;antimention ignored-users [add/remove] @user1 @user2 ...
Default: Disabled
Recommended: Up to your own criteria
Ignored-roles
The roles that will be ignored by the anti-mention filter.
;antimention ignored-roles [add/remove] @role1 @role2 ...
Default: Disabled
Recommended: Up to your own criteria
Ignored-channels*
The channels that will be ignored by the anti-mention filter.
;antimention ignored-channels [add/remove] #channel1 #channel2 ...
Default: Disabled
Recommended: Up to your own criteria
warn
If enabled, a warning will be issued when the bot detects mentions according to the configuration. If disabled, the user will not be warned, but still the mute will work (if enabled)
;antimention warn [enable/disable]
Default: Disabled
Recommended: enabled
Mute-warns
The number of warnings that should result in a mute.
;antimention mute-warns [Number of warns/time]
Range: 2s - 59m 59s
Default: Disabled
Recommended: Enabled
Example: 10/15mmeans if a user gains 10 warns in a period of 15 minutes, he/she will be muted
Mute
If enabled, the user will be muted when the warning count matches the configuration. If disabled, the user will not be muted.
;antimention mute [enable/disable]
Default: Disabled
Recommended: Enabled
Mute-duration
Time duration for which the user should be muted. 0stands forever.
;antimention mute-duration [time]
Example: 1d 4h 25m

