Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jefferson10147/countries-telegram-bot
- Owner: jefferson10147
- License: gpl-3.0
- Created: 2020-08-05T16:35:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-04T15:45:52.000Z (almost 4 years ago)
- Last Synced: 2024-11-05T18:17:31.782Z (3 months ago)
- Topics: countries, encrypt-messages, python3, telegram-bot
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.