From c3d4a75a09af912c6cac0340f8e5842e67ddb20f Mon Sep 17 00:00:00 2001 From: Dylan Hackworth Date: Wed, 18 Mar 2020 13:35:27 -0500 Subject: [PATCH] Added OWNERS_ONLY env variable to the README --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e2a50ff..988c189 100644 --- a/README.md +++ b/README.md @@ -288,6 +288,8 @@ You can get access token by logging in with Riot and looking from Settings / Hel Some commands require sender to be bot owner. Typically set your own id into it. +`OWNERS_ONLY` is an optional variable once defined only the owners can operate the bot (this is a form of whitelisting) + __*ATTENTION:*__ Don't include bot itself in `BOT_OWNERS` if cron or any other module that can cause bot to send custom commands is used, as it could potentially be used to run owner commands as the bot itself. To enable debugging for the root logger set `DEBUG=True`.