Skip to content

Instantly share code, notes, and snippets.

@112RG
Created February 27, 2017 12:39
Show Gist options
  • Save 112RG/915483672363475f0c001d7cf636a7c3 to your computer and use it in GitHub Desktop.
Save 112RG/915483672363475f0c001d7cf636a7c3 to your computer and use it in GitHub Desktop.
Test
class Program
{
private Logger _log;
private CommandService commands;
private DiscordShardedClient client;
private DependencyMap map;
string token = File.ReadAllText(@"token.txt");
static void Main(string[] args) => new Program().Start().GetAwaiter().GetResult();
public async Task Start()
{
SetupLogger();
_log = LogManager.GetCurrentClassLogger();
_log.Info("Logger init");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment