Exemplo n.º 1
0
 private static void Main(string[] args)
 {
     if (string.IsNullOrEmpty((Environment.GetEnvironmentVariable("DISCORD_WEB_HOOK") ?? "").Trim()))
     {
         Program.Logger.Log("env variable DISCORD_WEB_HOOK not found");
     }
     else
     {
         HostingAbstractionsHostExtensions.Run(Program.CreateHostBuilder(args).Build());
     }
 }
Exemplo n.º 2
0
 public static void Main(string[] args)
 {
     Thread.Sleep(10000);
     HostingAbstractionsHostExtensions.Run(CreateHostBuilder(args).Build());
 }