Exemplo n.º 1
0
 public XyloxDiscord(DiscordSocketClient discordClient, CommandHandler commandHandler, Logger logger, IXyloxConfig xyloxConfig)
 {
     _discordClient  = discordClient;
     _commandHandler = commandHandler;
     _logger         = logger;
     _xyloxConfig    = xyloxConfig;
     _xyConf         = _xyloxConfig.GetConfig();
 }
Exemplo n.º 2
0
 public CommandHandler(CommandService commandService, DiscordSocketClient discordClient, IKernel kernel, IXyloxConfig xyloxConfig)
 {
     _commandService = commandService;
     _discordClient  = discordClient;
     _kernel         = kernel;
     _xyloxConfig    = xyloxConfig;
     _xyConf         = _xyloxConfig.GetConfig();
 }
Exemplo n.º 3
0
        public XyloxDiscord(DiscordSocketClient discordClient, CommandHandler commandHandler,
                            IXyloxLogger logger, IXyloxConfig xyloxConfig, IMusicService musicService)
        {
            _discordClient  = discordClient;
            _commandHandler = commandHandler;
            _logger         = logger;
            _xyloxConfig    = xyloxConfig;
            _musicService   = musicService;

            _xyConf = _xyloxConfig.GetConfig();
        }