public VoiceCommands(IVoiceManager voiceManager, IOptions <CustomVoiceOptions> options,
                      ILogger <VoiceCommands> logger)
 {
     _voiceManager = voiceManager;
     _voiceConfig  = options.Value;
     _logger       = logger;
 }
Exemple #2
0
 public VoiceManager(IGuildProvider guildProvider, IOptions <CustomVoiceOptions> options,
                     ILogger <VoiceManager> logger)
 {
     _guildProvider = guildProvider;
     _voiceConfig   = options.Value;
     _logger        = logger;
 }
Exemple #3
0
 public VoiceCommands(IVoiceManager voiceManager, IOptions <CustomVoiceOptions> options)
 {
     _voiceManager = voiceManager;
     _voiceConfig  = options.Value;
 }
 public VoiceHandler(IOptions <CustomVoiceOptions> options, IVoiceManager voiceManager)
 {
     _voiceConfig  = options.Value;
     _voiceManager = voiceManager;
 }