Program for generate, create and deploy telegram bots readable way.
Project description
RaveGen: Telegram bot generator
Program for generate, create and deploy telegram bots in a readable way. You do not need to know how the Telegram API works or how or where you are going to deploy the bot, you just have to worry about what the bot is going to reply.
RaveGen uses python-telegram-bot for connect with Telegram Bot API and you can deploy the bot on Heroku or Google App Engine
Installing
Requirements
Depending on where you want to deploy the bot:
Heroku Cli:
$ sudo snap install heroku --classic
Google App Engine:
You need to follow the steps in https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
RaveGen installation
You can install RaveGen with:
$ sudo pip install ravegen --upgrade
OR clone this repository and run sudo make install
Create and deploy a bot in three steps!
Step 1
Get the Token from @BotFather. If you need help, you can read the Tutorial for Create a Telegram Bot in BotFather
Step 2
Run the follow command and paste the Token:
$ ravegen init -m
Step 3
Run this command and follow the indications:
$ ravegen deploy -d
Eureka!
Now find your bot on Telegram and try to tell it something.
Advanced usage
If you need help about the commands run:
$ ravegen help
Or if you want to know more see the RaveGen Wiki
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file ravegen-0.3.1-py2-none-any.whl
.
File metadata
- Download URL: ravegen-0.3.1-py2-none-any.whl
- Upload date:
- Size: 39.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e7bad6cdca289dbeb87fe7d045d1ef3f518416b1ce908cb2d28b05667afd9a7 |
|
MD5 | 3194211bc212f21e08602d261264b05c |
|
BLAKE2b-256 | b307073a5a6b76460d10ca61ca8ce159c8ba2b4238d1f01f2bedbe9e4f67a3d6 |