Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Delete message by prefix or suffix #12

Closed
lifehome opened this issue Sep 12, 2019 · 2 comments
Closed

Suggestion: Delete message by prefix or suffix #12

lifehome opened this issue Sep 12, 2019 · 2 comments
Labels

Comments

@lifehome
Copy link
Contributor

Only delete messages with certain prefix or suffix, useful for delete bot commands without affecting normal dialogue.

@victornpb
Copy link
Owner

I can add a text input so it can delete messages found in a text search. But I can’t guarantee that the text will appear only in the start of a message.

I could implement logic to skip messages that doesn’t contain the prefix at the start, but the total would be way off, and making it decide when it’s done will be tricky.

If the first option seems like a reasonable solution I can probably add it.

@victornpb
Copy link
Owner

Solved see #36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants