示例#1
0
 public VoiceCommands(IVoiceManager voiceManager, IOptions <CustomVoiceOptions> options,
                      ILogger <VoiceCommands> logger)
 {
     _voiceManager = voiceManager;
     _voiceConfig  = options.Value;
     _logger       = logger;
 }
示例#2
0
 public DiscordBot(DiscordWrapper discordWrapper, ReactionHandler reactionHandler,
                   CommandConfigurator configurator, IVoiceManager voiceManager)
 {
     _discordWrapper  = discordWrapper;
     _reactionHandler = reactionHandler;
     _configurator    = configurator;
     _voiceManager    = voiceManager;
 }
示例#3
0
 public DiscordBot(DiscordWrapper discordWrapper, EventHandler.EventHandler eventHandler,
                   CommandConfigurator configurator, IVoiceManager voiceManager)
 {
     _discordWrapper = discordWrapper;
     _eventHandler   = eventHandler;
     _configurator   = configurator;
     _voiceManager   = voiceManager;
 }
 public TransactionService(
     IRepository <Transaction> repository,
     IAppSettingsProvider appSettings,
     ILogger logger,
     IRepository <Customer> customerRepository,
     AccountMatcher accountMatcher,
     ISmsManager smsManager,
     IRepository <OwlFinanceAccount> accountRepository, IVoiceManager voiceManager)
     : base(logger)
 {
     this.appSettings        = appSettings;
     this.customerRepository = customerRepository;
     this.accountMatcher     = accountMatcher;
     this.smsManager         = smsManager;
     this.accountRepository  = accountRepository;
     this.voiceManager       = voiceManager;
     this.repository         = repository;
 }
示例#5
0
 public VoiceCommands(IVoiceManager voiceManager, IOptions <CustomVoiceOptions> options)
 {
     _voiceManager = voiceManager;
     _voiceConfig  = options.Value;
 }
示例#6
0
 public VoiceHandler(IOptions <CustomVoiceOptions> options, IVoiceManager voiceManager)
 {
     _voiceConfig  = options.Value;
     _voiceManager = voiceManager;
 }