WindowsAppCommunity / uwpcommunity-backend

The backend for the UWP Community website and discord server
10 stars 3 forks source link

Command to add/remove exceptions to the swear filter #55

Open Arlodotexe opened 4 years ago

Arlodotexe commented 4 years ago

The new swear filter is good, but it catches a lot of things that ought not to get caught because of how broad the Regex is.

There have been instances where a persons name, or legitimate terms have been mistaken by the bot for a swear word, such as ishittestvisible.

Let's add a few new commands to the bot:

The data should be stored in the backend database, and proper models created in the backend. Only moderators should be able to manage use the add/remove commands.