zpresneno pocitani slov, ted to pocita slova a ne pismenka za sebou

This commit is contained in:
MarlaB 2024-03-17 19:50:16 +01:00
parent 9a1adab980
commit 720b483f0f
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
slova = ["nigga", "negr", "debil", "gay", "kokot", "ok", "kurva", "sus", "petr", "gej", "bruh", "bružek"]
slova = ["nigga", "negr", "debil", "gay", "kokot", "ok", "oki", "oke", "okie", "kurva", "sus", "petr", "gej", "bruh", "bružek"]
sus_responses = ["it's getting sus here", "sus", "you are sussy", "sussy baka", "that is kinda sus", "that is sus", "you're seeming sus lately", "seems sus", "SUS", "gobus amogus", "amongsus", "sussy ah", "sussy"] #variety of responses when sus detection

View File

@ -42,7 +42,7 @@ async def chat_participation(): #randmonly sends messages into main
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
async def word_counter(message): #counts words in word list
for slovo in slova:
if slovo in message.content.lower() and message.content[0] != '~':
if slovo in message.content.lower().split(" ") and message.content[0] != '~':
msg_author_id = str(message.author.id)