Fixed a bug where words were case sensitive

This commit is contained in:
Sean Wang
2019-03-20 10:13:43 -04:00
parent 10efc785ea
commit ba022e4327

View File

@@ -64,6 +64,7 @@ async def on_message(message):
'damnit': 'dangit'
}
words_in_message = message.content.split()
[word.lower() for word in words_in_message]
if message.author.bot:
return
for key in bad_words.keys():