aternosorg / modbot

An open source moderation bot with advanced features developed by Aternos.
MIT License
130 stars 61 forks source link

badwords filter #179

Closed StoneMcYT closed 3 years ago

StoneMcYT commented 3 years ago

it aint working im not very sure why but im pretty sure its my fault also im not self hosting image

MiataBoy commented 3 years ago

You need to specify either regex, include or match

You can't do that as a full command

Example: Screenshot_20210129_142437_com discord

StoneMcYT commented 3 years ago

also whats the difference between those 3?

MiataBoy commented 3 years ago

Match will delete any messages with the bad word Include will only delete Messages that have the bad word in it alone

Regex basically is a sequence of characters defining a search pattern, useful if you wanna have several forms of something as a bad word

MiataBoy commented 3 years ago

I mixed up match and include, Match only deletes messages that have the bad word alone Include deletes any message that has the bad word in it

StoneMcYT commented 3 years ago

thx alot

StoneMcYT commented 3 years ago

Also how do i have multiple punishments and how may i change the mute time

MiataBoy commented 3 years ago

!punishment (duration) Just change strike count and you got another punishment

Changing mute time within punishment would require deleting it and then adding it again

JulianVennen commented 3 years ago

!punishment <count> <action> (duration) is what bluewy wanted to type

if you want to set the mute duration of a badword to 5m just enter "mute 5m" as the punishment

MiataBoy commented 3 years ago

!punishment <count> <action> (duration) is what bluewy wanted to type

if you want to set the mute duration of a badword to 5m just enter "mute 5m" as the punishment

Yeah i keep forgetting <> for some reason just deletes words..

StoneMcYT commented 3 years ago

thx