Exemplo n.º 1
0
 public CommandHandler(IServiceProvider services)
 {
     _client              = services.GetService <DiscordSocketClient>();
     _commands            = services.GetService <CommandService>();
     _nonStandardCommands = services.GetService <NonStandardCommandService>();
     _settings            = services.GetService <SettingsService>();
     _bot      = services.GetService <PrometheusBot>();
     _services = services;
 }
Exemplo n.º 2
0
 public InteractiveConsole(PrometheusBot bot)
 {
     _bot = bot;
 }