Changed module name and updated the naughty word list
This commit is contained in:
parent
6c34115267
commit
72de032e99
|
@ -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):
|
Loading…
Reference in New Issue