Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/ferigeek/rockpaperscissors_python
- Owner: ferigeek
- Created: 2024-08-26T13:52:33.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T18:39:27.000Z (3 months ago)
- Last Synced: 2024-08-26T22:40:36.815Z (3 months ago)
- Topics: asynchronous, log, logging, orm, orm-framework, peewee, python, python3, telegram, telegram-bot, telegram-bot-api
- Language: Python
- Homepage: https://t.me/RockPaperScissors_python_bot
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.