Added OWNERS_ONLY env variable to the README

This commit is contained in:
Dylan Hackworth 2020-03-18 13:35:27 -05:00
parent 4d4309531e
commit c3d4a75a09
1 changed files with 2 additions and 0 deletions

View File

@ -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. Some commands require sender to be bot owner.
Typically set your own id into it. 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. __*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`. To enable debugging for the root logger set `DEBUG=True`.