Skip to content

Conversation

khakers
Copy link
Owner

@khakers khakers commented Nov 11, 2023

When reply_without_command is enabled, a message starting with this string will not be sent as a reply and instead be logged internally like a message normally would be if reply_without_command was not enabled

When reply_without_command is enabled, a message starting with this character (or string) will not be sent as a reply
if not message.content.startswith(self.config.get("ignore_prefix")):
await thread.reply(message, anonymous=anonymous, plain=plain)
else:
logger.debug("Message ignored because it started with the ignore_prefix.")
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should add the message id to this log

@khakers
Copy link
Owner Author

khakers commented Jan 6, 2024

There are some bots running this as a patch on modmail v4.0 and there have been no reported issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant