Example #1
0
 public CommandHandlerService(DiscordSocketClient client, CommandService commandService,
                              IOptions <LittleBigBotConfig> config,
                              IServiceProvider services, ILogger <CommandHandlerService> logger, ILoggerFactory loggerFactory, LittleBigBot bot)
 {
     _client           = client;
     _commandService   = commandService;
     _config           = config.Value;
     _services         = services;
     _logger           = logger;
     _commandsTracking = loggerFactory.CreateLogger("CommandsTracking");
     _botCore          = bot;
 }
Example #2
0
        public static void Main(string[] args)
        {
            var bot = new LittleBigBot();

            bot.StartAsync().GetAwaiter().GetResult();
        }