mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-08-29 07:08:45 +00:00
log from user, and if in channel or DM
This commit is contained in:
@@ -2657,7 +2657,7 @@ class MessageHandler:
|
||||
if not self.should_process_message(message):
|
||||
return
|
||||
|
||||
self.logger.info(f"Processing message: {message.content}")
|
||||
self.logger.info(f"Processing message: '{message.content}' from {message.sender_id} in {'DM' if message.is_dm else message.channel}")
|
||||
|
||||
# Check for advert command (DM only)
|
||||
if message.is_dm and message.content.strip().lower() == "advert":
|
||||
|
||||
Reference in New Issue
Block a user