Browse Source

Revert "Ignore AppSettings"

Tigran 4 years ago
parent
commit
f80368de25
2 changed files with 9 additions and 1 deletions
  1. 0 1
      MafiaTelegramBot/.gitignore
  2. 9 0
      MafiaTelegramBot/AppSettings.cs

+ 0 - 1
MafiaTelegramBot/.gitignore

@@ -1 +0,0 @@
-AppSettings.cs

+ 9 - 0
MafiaTelegramBot/AppSettings.cs

@@ -0,0 +1,9 @@
+namespace MafiaTelegramBot
+{
+    public static class AppSettings
+    {
+        //public static string Url { get; set; } = ""; //TODO use this if need html tg api to get message updates
+        public static string Name { get; set; } = ""; //TODO paste your bot name here if need using full commands like /start@mafiabot, if value "", triggers to all /start commands
+        public static string Token { get; set; } = ""; //TODO paste your bot token here
+    }
+}