You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2022. It is now read-only.
Aahnik Daw edited this page May 13, 2021
·
7 revisions
A simple and good way to run different instances of telewater is to use different servers. Just deploy several Heroku apps or Digital ocean apps.
Advanced
Multiple instances in the same server can be run using a terminal multiplexer like gnu-screen.
You can define a file called bots.yml with the username and token of the bot written in it like this:
username: tokenusername2: token2# ...
If you are running using the docker method, just mount this bots.yml file into the container.
Example:
docker run -v /path/to/bots.yml:/app/bots.yml --env-file .env -it aahnik/telewater
If you have installed telewater on your host machine via pip, then you can just download and run this script entrypoint.py. The script must lie in the same directory as your .env and bots.yml.