From a7f3fcccb7e54a058a28bb0549042c988f228d70 Mon Sep 17 00:00:00 2001 From: alsoGAMER Date: Sat, 13 Feb 2021 20:33:58 +0100 Subject: [PATCH] Readme: Updated according to the changes made on 69d0136 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4956e81..e73bd19 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ If you don't know what a smart plugin is, check [this link](https://docs.pyrogra There are some things to keep in mind, though: - If you want to protect your plugin from flood, import the `BotBase.modules.antiflood.BANNED_USERS` filter (basically a `Filters.user()` object) and use it like this: `~BANNED_USERS`. This will restrict banned users from reaching your handler at all. -Please note that users banned with the `/ban` command are filtered with the custom filter `BotBase.methods.custom_filters.user_banned`! +Please note that users banned with the `/ban` command are filtered with the custom filter `BotBase.methods.user_banned`! - To avoid repetition with try/except blocks, BotBase implements a wrapper object that performs automatic exception handling and log to the console, check the `METHODS.md` file in this repo to know more - Nothing restricts you from changing how the default plugins work, but this is not advised. The default plugins have been designed to cooperate and breaking this might lead to obscure tracebacks and errors that are hard to debug. - BotBase also has many default methods to handle database interaction, check the `DATABASE.md` file in this repo to know more