Exemplo n.º 1
0
 public CommandHandler(
     DiscordSocketClient client,
     CommandService commands,
     IServiceProvider services,
     IOptions <CauliusOptions> options)
 {
     _client   = client;
     _commands = commands;
     _services = services;
     _options  = options.Value;
 }
Exemplo n.º 2
0
 public CauliusService(
     IOptions <CauliusOptions> options,
     DiscordSocketClient client,
     ILogger <CauliusService> logger,
     CommandService commands,
     IServiceProvider services)
 {
     _options  = options.Value;
     _client   = client;
     _logger   = logger;
     _commands = commands;
     _services = services;
 }
Exemplo n.º 3
0
 public TextCommandHandler(DiscordSocketClient client, IOptions <CauliusOptions> options, CauliusContext context)
 {
     _client  = client;
     _options = options.Value;
     _context = context;
 }