Beispiel #1
0
 public DiscordBot(DiscordWrapper discordWrapper, EventHandler.EventHandler eventHandler,
                   CommandConfigurator configurator, IVoiceManager voiceManager)
 {
     _discordWrapper = discordWrapper;
     _eventHandler   = eventHandler;
     _configurator   = configurator;
     _voiceManager   = voiceManager;
 }
Beispiel #2
0
 public DiscordBot(DiscordWrapper discordWrapper, ReactionHandler reactionHandler,
                   CommandConfigurator configurator, IVoiceManager voiceManager)
 {
     _discordWrapper  = discordWrapper;
     _reactionHandler = reactionHandler;
     _configurator    = configurator;
     _voiceManager    = voiceManager;
 }
Beispiel #3
0
 public DiscordBot(IServiceProvider provider, DiscordWrapper discordWrapper, ILogger <DiscordBot> logger,
                   CommandCollection commands)
 {
     _provider       = provider;
     _discordWrapper = discordWrapper;
     _logger         = logger;
     _commands       = commands;
 }
Beispiel #4
0
 public ConfigGuildProvider(DiscordWrapper wrapper, IOptions <DiscordConfig> config)
 {
     _config = config;
     _client = wrapper.Client;
 }