From 5037cbe9ddc115d9444081a46afea813ed912095 Mon Sep 17 00:00:00 2001 From: fzorb Date: Tue, 15 Jul 2025 10:26:17 +0300 Subject: [PATCH] prevent pings --- src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 2fa4cb8..fb386a7 100644 --- a/src/bot.py +++ b/src/bot.py @@ -21,7 +21,7 @@ async def on_message(message): with open("data.txt", "r") as dataFile: content = dataFile.read().split("\n") for i in range(length): - sentence = sentence + random.choice(content).replace("\n", "") + " " + sentence = sentence + random.choice(content).replace("\n", "").replace("@", "\\@\\") + " " await message.channel.send(sentence) return