Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jefferson10147/countries-telegram-bot

This bot provides facts of countries that the user specifies.
https://github.com/jefferson10147/countries-telegram-bot

countries encrypt-messages python3 telegram-bot

Last synced: 28 days ago
JSON representation

This bot provides facts of countries that the user specifies.

Awesome Lists containing this project

README

        

# Telegram Bot
This is a Telegram bot using python 3.

## What does this bot?
This bot can gives a simple country information, just receiving an emoji flag like '🏴󠁧󠁢󠁷󠁬󠁳󠁿' or country name (in english) like 'Wales'. Here's the [API](https://restcountries.eu) this bot uses to consult countries data. Also this bot can encrypt messages using flags emojis, just send any message and bot will send you the encrypted message.
## How to run this bot on your linux machine
* You need to install telegram bot library:
```bash
$ pip install python-telegram-bot
```

* Make a config.ini file where you have to put telegram API data:
```
[BOT]
token = YOUR_BOT_TELEGRAM_API_TOKEN
```

* Then just run on your terminal:
```bash
$ python3 bot.py
```

### Special Thanks

* Marco Useche, who gave me the idea for this bot.
* Pedro Labrador, who created emojis dictionary.