Created
February 27, 2017 12:39
-
-
Save 112RG/915483672363475f0c001d7cf636a7c3 to your computer and use it in GitHub Desktop.
Test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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