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

https://github.com/xditya/accountsgenbot

yes
https://github.com/xditya/accountsgenbot

Last synced: over 1 year ago
JSON representation

yes

Awesome Lists containing this project

README

          

# Account Generator Bot
Account Generator Bot, runs on python (telethon), with redis as database.

# Variables
---------------
* Mandatory Vars -
`APP_ID` and `API_HASH` - Get it from [here](https://my.telegram.org)
`BOT_TOKEN` - Get it from [@BotFather](https://t.me/BotFather)
`REDIS_URI` and `REDIS_PASSWORD` - Get it from [RedisLabs](https://redislabs.com), tutorial [here](./extras/redisinfo).
`OWNER_ID` - Your telegram user id, get it by sending `/info` to some group management bot.
`ACCOUNTS` - Raw link to the accounts you need the users to generate. Tutorial [here](./extras/add_accounts.md).
-----------------

-----------------
* Other vars -
`ACC_NAME` - Name of the account that the bot is to generate.
`CHANNEL` - Link/Username of your telegram group/channel. Leave empty for no force join.
`START` - Custom start message. Use {mention} in it to mention the user who is currently using the commands.
-----------------

## Deploying
You can deploy this bot anywhere.
Heroku



Deploy

Local Machine


Open a terminal.
Clone the repository git clone https://github.com/xditya/AccountGenBot && cd AccountGenBot
Install requirements:
pip3 install -r requirements.txt
Create a .env file with the vars. Follow these:
.touch .env
nano .env
Now open a notepad, copy the contents in .env.sample and edit the values as per your requirements. Copy that and paste it in the terminal.
CTRL + X and CTRL + S to save and exit.
python3 bot.py
Now send /start to you bot to see if it is running!

## Support
Join the [telegram group](https://t.me/BotzHubChat) for support and the [channel](https://t.me/BotzHub) for updates.

Report bugs, give feature requests there..
Do fork and star the repository if you liked it.

## Disclaimer
[![GNU Affero General Public License v3.0](https://www.gnu.org/graphics/agplv3-155x51.png)](https://www.gnu.org/licenses/agpl-3.0.en.html#header)
Licensed under GNU AGPL v3.0.
Selling the codes to other people for money is *strictly prohibited*.