https://github.com/beta/dlercloud-telegram-bot
https://github.com/beta/dlercloud-telegram-bot
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/beta/dlercloud-telegram-bot
- Owner: beta
- License: zlib
- Created: 2021-12-30T06:29:26.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T10:21:00.000Z (about 4 years ago)
- Last Synced: 2024-06-23T06:04:51.887Z (almost 2 years ago)
- Language: Go
- Size: 111 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dler Cloud Telegram Bot
A Telegram bot for querying the bandwidth usage of your Dler Cloud & Vultr account.
## Usage
1. Download [the latest release](https://github.com/beta/dlercloud-telegram-bot/releases/latest)
2. Fill the values into [config.toml](config.toml) and save it somewhere
3. `./bot -c `
## Configs
```toml
[telegram]
bot-token = "" # Bot token acquired from @BotFather
# Only user/group/channel with this recipient ID can use this bot.
# Omit this value so that any one can use it.
allowed-recipient = ""
[dler-cloud]
# Your Dler Cloud account.
email = ""
password = ""
[vultr]
# Change to true to use Vultr
enabled = false
# Your Vultr API key. Enable in https://my.vultr.com/settings/#settingsapi
api-key = ""
# Uncomment the following options to add Vultr instances.
# Change INSTANCE_NAME_* to an recognizable instance name.
# INSTANCE_ID_* can be found in the URL of Vultr's product page.
# [vultr.instances.INSTANCE_NAME_1]
# id = "INSTANCE_ID_1"
# [vultr.instances.INSTANCE_NAME_2]
# id = "INSTANCE_ID_2"
```
## License
zlib