telegram helper bot for @tgtoadbot
helper telegram bot for @tgtoadbot
setup
1. copy and edit .env file
, cp .env.sample .env
,
2. initialize mongo, add user for task scheduler
“,
$ docker-compose up -d mongo
$ docker-compose run mongo bash
$ mongo –host mongo -u root
use agenda
db.createuser ({user: “agenda”, pwd: “agenda”, roles: [{role: “readwrite”, db: “agenda”}]})
“,
3. exit mongo container and start all other services
, $ docker-compose up -d
,
������
������
������
inline mode
in inline mode, the bot helps to quickly enter the toadbot commands, and also provides useful tips for them.
commands
[one. scheduled tasks list] (# 1-scheduled-tasks-list)
[2. cancel task] (# 2-cancel-task)
[3. schedule feeding] (# 3-schedule feeding)
1. list of scheduled tasks
the command my schedule
shows all the scheduled tasks.
2. canceling a task
to cancel one of the tasks, you need to execute the command cancel task <id>
.
3. schedule feeding
to schedule a feeding, you need to enter a command in the format
schedule feeding hh: mm
or schedule a feast hh: mm
for premium toads.
after that, the bot will automatically ask you to press the ** feed the toad ** button
with an interval of 12 or 6 hours after the last feeding.
Comments are closed.