Example #1
0
 public SlashReflectionService(
     ILogger <SlashReflectionService> logger,
     IServiceProvider services,
     IDiscordSlashCommandBuilderService commands,
     DiscordSocketClient client,
     IConfiguration config,
     IApiService api)
 {
     _logger   = logger;
     _services = services;
     _commands = commands;
     _client   = client;
     _api      = api;
     _config   = config;
 }
Example #2
0
 public DiscordClient(
     IConfiguration config,
     IServiceProvider services,
     ILogger <DiscordClient> logger,
     IDiscordSlashCommandBuilderService slash,
     ISlashReflectionService slashRef,
     DiscordSocketClient client,
     CommandService commands,
     IReactionService reactions,
     IComponentService buttons,
     IDiscordEventHandler handler)
 {
     _client    = client;
     _commands  = commands;
     _config    = config;
     _services  = services;
     _logger    = logger;
     _slash     = slash;
     _slashRef  = slashRef;
     _reactions = reactions;
     _buttons   = buttons;
     _handler   = handler;
 }