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:
|
if message.author.bot:
|
||||||
return
|
return
|
||||||
|
|
||||||
# Skip command messages (they start with . usually)
|
# Look for and replace time patterns (only for non-command messages)
|
||||||
if message.content.startswith('.'):
|
if not message.content.startswith('.'):
|
||||||
return
|
|
||||||
|
|
||||||
# Look for and replace time patterns
|
|
||||||
original_content = message.content
|
original_content = message.content
|
||||||
modified_content = self.replace_time_patterns(original_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