mirror of
https://github.com/Sean-S-Wang/christian_crusader_discord.git
synced 2026-01-09 14:37:54 -05:00
Fixed a bug where words were case sensitive
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user