My patch broke the bot, removed
This commit is contained in:
parent
7a1dac692a
commit
db52b15570
1 changed files with 0 additions and 1 deletions
|
@ -17,7 +17,6 @@ def decode(txt):
|
|||
|
||||
|
||||
def censor(text):
|
||||
text = text.decode('ascii', 'replace')
|
||||
replacement = '[censored]'
|
||||
if 'censored_strings' in bot.config:
|
||||
words = map(re.escape, bot.config['censored_strings'])
|
||||
|
|
Reference in a new issue