Added notification service

This commit is contained in:
ftc
2022-01-04 15:54:15 +03:00
parent 4c3f75005b
commit 23b6ae390e
3 changed files with 90 additions and 3 deletions
-3
View File
@@ -30,7 +30,6 @@ namespace ZaoBot
public void Run()
{
var token = config.RootElement.GetProperty("token").GetString();
shouldRestart = false;
botClient = new TelegramBotClient(token);
@@ -44,8 +43,6 @@ namespace ZaoBot
}
}
private async void OnBotMessage(object sender, MessageEventArgs e)
{
try