Skip to content

Instantly share code, notes, and snippets.

@112RG
Created February 27, 2017 12:40
Show Gist options
  • Save 112RG/734b816b57bd4280fa5c87e6552aabd7 to your computer and use it in GitHub Desktop.
Save 112RG/734b816b57bd4280fa5c87e6552aabd7 to your computer and use it in GitHub Desktop.
t
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