The Status Bot is a tool designed to send a reminder at specific time
Ensure that you have installed:
- Go programming language (version 1.21 or higher if not using docker)
- Git
- Clone this repository to your local machine:
git clone https://github.com/codescalers/statusbot
cd statusbot
- Setup your telegram bot and your env
- Create a new telegram bot if you don't have.
- Run the bot:
- Using go
go run main.go -b <your bot token> -t <notfication time (default to 17:00)> -z <timezone (default Africa/Cairo)> -d <path to database (default ~/.statusbot)>
- Using Docker
docker build -t statusbot .
docker run -e STATUSBOT_TOKEN=<your bot token> -e NOTFICATION_TIME=<notfication time> -e TIMEZONE=<timezone> -e DATABASE=<path to database>-it statusbot
- Open telegram app
- Create a new bot
1. Find telegram bot named "@botfarther"
2. Type /newbot
- Get the bot token
1. In the same bot named "@botfarther"
2. Type /token
3. Choose your bot