catbaron0 / efb-msg_blocker-middleware

3 stars 1 forks source link

MessageBLocker: A middleware for EFB

Notice

Middleware ID: catbaron.msg_blocker

MessageBLocker is a middleware for EFB, to manage filters and block some specific messages.

Note: I rewrite most parts of this middleware in the last update. Please read the usage section to check the change. Because the structer of database is changed, you may need to delete the database file in order to make it work (usually it's at ~/.ehforwarderbot/profiles/default/catbaron.msg_blocker/ftdata.db).

Note: If you are looking for a way to block all messages from so called Official Accounts(公众号), this plugin is not what you need. Here are some advices:

Dependense

Install

Usage

Three commands are supported by this middleware, namely list, add and del. To avoid conflict to other channels' command, all the commands MUST follow \msg_blocer and a space, as shown below.