Beispiel #1
0
 public static BotLogic GetInstanse()
 {
     if (instanse == null)
     {
         instanse = new BotLogic();
     }
     return(instanse);
 }
Beispiel #2
0
 static async Task Execute()
 {
     // download settings
     Utils.Settings.GetInstanse().Read();
     // init
     ACommand.commands = new List <ACommand>()
     {
         new ShowCommand(),
         new HelpCommand()
     };
     //
     await BotLogic.GetInstanse().StartListenMessage();
 }