public async Task RunAsync() { _DiscordWrapper.AddLogHandler(LogReceived); await _DiscordWrapper.LogInAsync(); await _DiscordWrapper.StartAsync(); await _Commands.AddModulesAsync(Assembly.GetEntryAssembly(), _Services); _ModuleNames = DetermineModuleNames(); _PrefixDictionary = new Dictionary <decimal, string>(); //TODO _DiscordWrapper.AddMessageReceivedHandler(MessageReceived); var playingGame = _ConfigWrapper["PlayingGame"]; await _DiscordWrapper.SetGameAsync(playingGame); }
public Task LogInAsync() => _DiscordWrapper.LogInAsync();