fixed the message handler ignoring messages, there could still be a problem with commands not working properly

This commit is contained in:
Xargana 2025-05-08 21:09:27 +03:00
parent ff4418f834
commit 1a9863dc5e
2 changed files with 16 additions and 18 deletions

View file

@ -77,11 +77,8 @@ class MessageHandler:
if message.author.bot:
return
# Skip command messages (they start with . usually)
if message.content.startswith('.'):
return
# Look for and replace time patterns
# Look for and replace time patterns (only for non-command messages)
if not message.content.startswith('.'):
original_content = message.content
modified_content = self.replace_time_patterns(original_content)

1
tracked_channels.json Normal file
View file

@ -0,0 +1 @@
[]