Beispiel #1
0
        public void Init(ILaberBot bot)
        {
            _bot = bot;

            var config = ReadConfig();

            _controllerMapping = new ControllerMapping(config);
        }
Beispiel #2
0
 public PlayController(
     ILaberBot bot,
     WebServiceOptions options,
     IAudioPlayer player,
     ISoundRepository soundRepository)
 {
     _bot             = bot;
     _options         = options;
     _player          = player;
     _soundRepository = soundRepository;
 }
Beispiel #3
0
 public void Init(ILaberBot bot)
 {
 }
Beispiel #4
0
 public void Init(ILaberBot bot)
 {
     _audioService = bot.GetService <AudioService>();
 }