示例#1
0
 public CommandDispatcher(DiscordSocketClient client, CommandService commands, IServiceProvider services, IGuildSettingsSource guildSettingsSource)
 {
     Client              = client;
     Commands            = commands;
     Services            = services;
     GuildSettingsSource = guildSettingsSource;
 }
 public MetaModule(IGuildSettingsSource guildSettings, IOptionsSnapshot <GreengladeSettings> settings)
 {
     GuildSettings = guildSettings;
     Settings      = settings.Value;
 }
示例#3
0
 public LocaleService(IGuildSettingsSource guildSettingsSource, IOptionsSnapshot <TipsySettings> tipsySettings)
 {
     GuildSettingsSource = guildSettingsSource;
     TipsySettings       = tipsySettings.Value;
 }