Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ferigeek/rockpaperscissors_python

A simple telegram bot project.
https://github.com/ferigeek/rockpaperscissors_python

asynchronous log logging orm orm-framework peewee python python3 telegram telegram-bot telegram-bot-api

Last synced: about 16 hours ago
JSON representation

A simple telegram bot project.

Awesome Lists containing this project

README

        

A simple rock paper scissors telegram bot written with Python.

# Goals of this project

- Working with [Telegram Bot](https://github.com/python-telegram-bot/python-telegram-bot) library
- Implement logging
- Logging in the console
- Logging in a file
- Practice asynchronous programming
- Working with a database
- Use an ORM
- Use [peewee](https://github.com/coleifer/peewee)
- Use SQLite
---

# Requirements

- [peewee](https://github.com/coleifer/peewee)
- [Telegram Bot](https://github.com/python-telegram-bot/python-telegram-bot)

---

# Setting up

1. Change the `__toke__` in `bot.py` to your token from bot father.
2. Run the `databaseOP.py` to setup the SQLite database and add the tables.
3. Run the `bot.py`.