Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/longl1ve/telegramshpigongamebot
.NET Core Telegram bot for SpyFall game
https://github.com/longl1ve/telegramshpigongamebot
chat csharp csharp-app csharp-code dotnet dotnet-application dotnet-core dotnetcore game telegram telegram-bot telegram-bot-api
Last synced: about 1 month ago
JSON representation
.NET Core Telegram bot for SpyFall game
- Host: GitHub
- URL: https://github.com/longl1ve/telegramshpigongamebot
- Owner: longl1ve
- License: mit
- Created: 2024-07-31T17:18:17.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T17:07:45.000Z (2 months ago)
- Last Synced: 2024-10-12T14:03:58.995Z (about 1 month ago)
- Topics: chat, csharp, csharp-app, csharp-code, dotnet, dotnet-application, dotnet-core, dotnetcore, game, telegram, telegram-bot, telegram-bot-api
- Language: C#
- Homepage:
- Size: 570 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE
Awesome Lists containing this project
README
# Currently in early stage development.
### This is the .NET Core Telegram bot for playing a SpyFall with friends inside of chats. Bot language can be English or Ukrainian.
You can play with stable version of my project with these two bots:
**@ShpigonGameEngBot (English)** and **@ShpigonGameBot (Ukrainian)**### Deploy instruction for Ubuntu:
1. Install .NET Core SDK on your machine. You can find instruction for this on Microsoft website.
2. Choose or create directory on your machine where you will store this project and then `cd` to it.
3. Make a local clone of this repository on your machine with `git clone https://github.com/longl1ve/telegramShpigonGameBot`
4. Now `cd` to your local repository.
5. Publish a .NET app with `dotnet publish -c Release -o /path/to/your/local/repository --runtime linux-x64`
6. Create a Systemd File for .NET app with `nano /etc/systemd/system/bot.service` (bot will be deployed as a service).
7. Copy config from [bot.service](https://github.com/longl1ve/telegramShpigonGameBot/blob/main/bot.service) to the `bot.service` file on your machine and edit things such as bot API token and path. Save the changes and close the file.
8. Now reload daemon with `sudo systemctl daemon-reload`
9. Start bot service with `sudo systemctl start bot.service`
10. Enable bot service with `sudo systemctl enable bot.service`
11. Now you can check the status of your bot with `sudo systemctl status bot.service`
12. It should be all set up and running! Now your service will start on system boot every time.