/// <summary> /// Initializes a new instance of the <see cref="EventHandler"/> class. /// </summary> /// <param name="client"> /// The client. /// </param> /// <param name="homeService"> /// The home Service. /// </param> /// <param name="config"> /// The config. /// </param> /// <param name="service"> /// The service. /// </param> /// <param name="levels"> /// The levels. /// </param> /// <param name="channelHelper"> /// The channel Helper. /// </param> /// <param name="commandService"> /// The command service. /// </param> /// <param name="prefixService"> /// The prefix Service. /// </param> public EventHandler(DiscordShardedClient client, TranslateLimitsNew limits, WaitService waits, DBLApiService dblService, TranslateMethodsNew translationMethods, TranslationService translationService, HomeService homeService, ConfigModel config, IServiceProvider service, LevelHelper levels, ChannelHelper channelHelper, CommandService commandService, PrefixService prefixService) { Client = client; Config = config; Provider = service; CommandService = commandService; prefixOverride = DatabaseHandler.Settings.UsePrefixOverride; PrefixService = prefixService; _ChannelHelper = channelHelper; _LevelHelper = levels; _HomeService = homeService; _Translate = translationService; Limits = limits; Waits = waits; TranslationMethods = translationMethods; DBLApi = dblService; CancellationToken = new CancellationTokenSource(); }
public Translate(TranslateLimitsNew limits, TranslateMethodsNew methods) { Limits = limits; Methods = methods; }