Changed module name and updated the naughty word list

This commit is contained in:
Cutipus 2018-05-15 19:52:47 +03:00
parent 6c34115267
commit 72de032e99
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import builtins
_original = builtins.__build_class__
naughty_list = 'test', 'a', 'b', 'c', 'lewd', 'pony', 'ponies'
naughty_list = 'pony', 'ponies'
def profanity_filter(func, name, *args, **kwargs):
if any(bad_word in name.lower() for bad_word in naughty_list):