Skip to content

Commit 85dff03

Browse files
fix: integrate anti_spam function call into message handling for improved spam control
1 parent 941c404 commit 85dff03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,6 +2103,7 @@ async def on_message(self, message):
21032103
)
21042104

21052105
if "openglados" in message.content.lower():
2106+
await anti_spam(message, bot=self.bot)
21062107
if urls:
21072108
for url in urls:
21082109
try:

0 commit comments

Comments
 (0)