/pill-bot

A telegram bot to remind to take the pill

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Pill Bot

A bot that reminder to take the pill.

There are 2 role, the admin and the user.
The user have to take the pill at a certain time every day, and when the user does it, it notifies the admin.

Commands

Command Description
/echo replies with the current datetime
pill mark the pill as took
box show the status of the pill box
remind 00:00 set a onetime reminder for that time (24h)
reminders show the current reminders
remove remove the currently set reminders

Admin commands

Commands Description
/stats show mean and stddev

Install instruction

Requirements

  • telegram bot token generated by bot father
  • python >= 3.9
  • python virtualenv
  • systemd
curl -s https://raw.githubusercontent.com/rickyroveri/pill-bot/master/install/install.sh | bash -s

Libraries used

python-telegram-bot
tinydb
pyyaml