public PostClipsHelper(ILoggerWrapper log, ITopTwitchClipBotContext context, ITwitchWrapper twitchWrapper, IDiscordWrapper discordWrapper) { _TwitchWrapper = twitchWrapper; _DiscordWrapper = discordWrapper; _Context = context; _Log = log; }
public GifPostingHelper(ILoggerWrapper log, ITrendingGiphyBotContext context, IGiphyWrapper giphyWrapper, IDiscordWrapper discordWrapper, List <string> warningResponses) { _Log = log; _Context = context; _GiphyWrapper = giphyWrapper; _DiscordWrapper = discordWrapper; _WarningResponses = warningResponses; }
public Bot(IServiceProvider services) { _Services = services; _DiscordWrapper = _Services.GetService <IDiscordWrapper>(); _ConfigWrapper = _Services.GetService <IConfigurationWrapper>(); _Log = _Services.GetService <ILogger <Bot> >(); _BotHelper = _Services.GetService <IBotHelper>(); _Commands = new CommandService(); }