https://github.com/ferigeek/rockpaperscissors_dotnet
A simple telegram bot project.
https://github.com/ferigeek/rockpaperscissors_dotnet
asynchronous dotnet ef-core efcore entity-framework entity-framework-core log logging telegram telegram-bot
Last synced: 10 months ago
JSON representation
A simple telegram bot project.
- Host: GitHub
- URL: https://github.com/ferigeek/rockpaperscissors_dotnet
- Owner: ferigeek
- Created: 2024-08-24T14:06:58.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-27T04:50:35.000Z (almost 2 years ago)
- Last Synced: 2025-03-05T03:46:46.073Z (over 1 year ago)
- Topics: asynchronous, dotnet, ef-core, efcore, entity-framework, entity-framework-core, log, logging, telegram, telegram-bot
- Language: C#
- Homepage:
- Size: 15.6 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 C#/.NET.
# Goals of this project
- Working with [Telegram.Bot](https://github.com/TelegramBots/Telegram.Bot) library
- Implement logging
- Logging in the console
- Logging in a file
- Practice Asynchronous programming
- Working with a database
- Use an ORM
- Use dotnet Entity Framework
- Use SQLite
---
# Requirements
- .NET 8
- [Telegram.Bot](https://github.com/TelegramBots/Telegram.Bot)
---
# Setting up
1. Change the `__token__` in the `Program.cs` to yours.
2. Build the project.
3. At the same directory as the output file, make a `data` directory and copy the `botDB.sqlite` at the `project/data` to the created directory.
Done!