https://github.com/tweska/twesbot
A Telegram bot made with Python.
https://github.com/tweska/twesbot
python telegram telegram-bot telegram-bot-api
Last synced: 12 months ago
JSON representation
A Telegram bot made with Python.
- Host: GitHub
- URL: https://github.com/tweska/twesbot
- Owner: tweska
- License: mit
- Created: 2017-06-28T18:57:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-05-24T09:29:56.000Z (about 3 years ago)
- Last Synced: 2025-03-01T05:32:20.915Z (over 1 year ago)
- Topics: python, telegram, telegram-bot, telegram-bot-api
- Language: Python
- Size: 21.5 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# TwesBot
A Telegram bot made with Python. This bot is implemented using the
[python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot)!
## how to use?
1. Create a new bot or get the bot token from your existing bot by talking to
[BotFather](https://telegram.me/BotFather). If you don't know where to start,
use [the official tutorial](https://core.telegram.org/bots#6-botfather)!
2. Install or upgrade python-telegram-bot with:
```
$ pip install python-telegram-bot --upgrade
```
Or you can install from source with:
```
$ git clone https://github.com/python-telegram-bot/python-telegram-bot --recursive
$ cd python-telegram-bot
$ python setup.py install
```
3. Setup TwesBot by changing the bot token in `settings.json` and customizing
the actions.
4. Run your bot using: `./twesbot.py`
5. Start talking to your bot!
TIP: You can get your ID and other information about you and the chat you are in using the `/info` command. (Make sure `enable_info_command` is set to `true` in your settings file.
TIP: You can select a custom setting file with the `--settings ''` argument.