Skip to content

ITIS-MICROSERVICES-2021/BotService

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITIS_2021_2_BotService

Telegram bot - @itis_microservices_2021_bot

Getting started

Prerequisites

Running

Running with CLI

Run the following command in your solutiuon (BotService.sln) directory:

dotnet run ./BadSmellingBotServiceUsingCSharp/BadSmellingBotServiceUsingCSharp.csproj

Running with Visual Studio/Rider

  1. Open BotService.sln with your preferred IDE
  2. Set startup project in your build configuration to BadSmellingBotServiceUsingCSharp.csproj
  3. Run the solution

Configuration

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "Telegram" : {
    "Token" : "2018371884:AAEJbN3m1_NhaMP65Gv6ayUF_Lc3y2bdxvY"
  }
}
  • Telegram.Token: telegram bot authentication token

You can change the token to connect to your own telegram bot.

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.5%
  • Dockerfile 2.5%