public DiscordPingWorkFlow(
     SocketCommandContext context,
     DiscordSocketClient discord,
     DiscordSettingsProvider discordSettingsProvider)
     : base(discord, context, discordSettingsProvider)
 {
     _discordSettings = discordSettingsProvider.Provide();
 }
示例#2
0
 public DiscordHelpWorkFlow(
     DiscordClient discordClient,
     InteractionContext context,
     DiscordSettingsProvider discordSettingsProvider)
 {
     _discordSettings = discordSettingsProvider.Provide();
     _discordClient   = discordClient;
     _context         = context;
 }
示例#3
0
 public DiscordMovieRequestingWorkFlow(
     SocketCommandContext context,
     DiscordSocketClient discord,
     IMovieSearcher movieSearcher,
     IMovieRequester movieRequester,
     DiscordSettingsProvider discordSettingsProvider,
     MovieNotificationsRepository notificationRequestRepository)
     : base(discord, context, discordSettingsProvider)
 {
     _movieSearcher  = movieSearcher;
     _movieRequester = movieRequester;
     _notificationRequestRepository = notificationRequestRepository;
     _discordSettings = discordSettingsProvider.Provide();
 }
 public DiscordTvShowsRequestingWorkFlow(
     SocketCommandContext context,
     DiscordSocketClient discord,
     ITvShowSearcher tvShowSearcher,
     ITvShowRequester tvShowRequester,
     DiscordSettingsProvider discordSettingsProvider,
     TvShowNotificationsRepository notificationsRepository)
     : base(discord, context, discordSettingsProvider)
 {
     _discord                 = discord;
     _tvShowSearcher          = tvShowSearcher;
     _tvShowRequester         = tvShowRequester;
     _discordSettingsProvider = discordSettingsProvider;
     _notificationsRepository = notificationsRepository;
     _discordSettings         = discordSettingsProvider.Provide();
 }