Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/xditya/botstatus

Update your Telegram Bot's status on your channel periodically!
https://github.com/xditya/botstatus

bot status telegram uptime-monitor

Last synced: 7 days ago
JSON representation

Update your Telegram Bot's status on your channel periodically!

Awesome Lists containing this project

README

        

# BotStatus
Updates your bot status in the message, every two hours.

**_NOTE:_** This branch uses github workflows to host your code, and doesn't rely on another hosting platform. If you want to deploy on heroku/vps/whereever, go to [this branch](https://github.com/xditya/BotStatus/tree/deploy).

# Secrets.

Add them to [Settings ⇢ Secrets ⇢ New Repository Secret.](https://docs.github.com/en/actions/reference/encrypted-secrets)

- `APP_ID` and `API_HASH` from [my.telegram.org](https://my.telegram.org).
- `BOTS` - TG UserName of your bots separated by space.
- `SESSION` - Telethon SessionString of the User to edit the message.
- `REPO_NAME` - yourGitHubUserName/RepositoryName, eg: xditya/BotStatus (fork this repo first).
- `CHANNEL_ID` - ID of your channel.
- `MESSAGE_ID` - ID of the message to edit.

Optional Variables:
- `CHANNEL_NAME` - Your channel name, with @, eg: `@BotzHub`
- `TIME_ZONE` - Time zone, see available timezone formats [here](https://gist.github.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568).

# Credits
- [Me](https://xditya.me)