fixed the message handler ignoring messages, there could still be a problem with commands not working properly
This commit is contained in:
parent
ff4418f834
commit
1a9863dc5e
|
@ -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
1
tracked_channels.json
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
Loading…
Reference in a new issue