Sakura is a very powerful telegram bot built to do many things. It can
- Greet new users
- Ban people, warn people and mute people from groups
- Fetch Dota 2 match information of completed videogames and generate match scorecards using the OpenDota API
- Install Dotnet Core, MongoDB
- Start MongoD
- Set up a bot via BotFather and get the API Token
- Expose your port 5000 using ngrok as http. Copy the HTTPS URL from NGROK.
- Run a POST request on https://api.telegram.org/bot{BOT-TOKEN}/setWebhook with body [url: {HTTPS-URL}/api/update] in form-data
- In AppSettings.json
- Set your Bot Token
- Set your Database Connection String to "mongodb://localhost:27017"
- Run Dotnet Run
- Install Dotnet Core, Docker (v17 and up), Docker Compose
- Set up a bot via BotFather and get the API Token
- Expose your port 5000 using ngrok as http. Copy the HTTPS URL from NGROK.
- Run a POST request on https://api.telegram.org/bot{BOT-TOKEN}/setWebhook with body [url: {HTTPS-URL}/api/update] in form-data
- In AppSettings.json
- Set your Bot Token
- Set your Database Connection String to "mongodb://mongodb:27017"
- Run
docker-compose build
- Run
docker-compose up
- Try out your bot, it should echo everything you say to it