public HamagenModule(IConfigurationService configService, CommandHandlingService chService) { _config = configService.Configuration; _hamagenUserId = _config["UserIds:Hamagen"]; _hamagenEmote = Emote.Parse(_config["Emotes:CallHamagen"]); var whiteCheckmark = new Emoji(_config["Emojis:WhiteCheckmark"]); _baseWarnMessageModule = new BaseWarnMessageModule(configService, whiteCheckmark); chService.ReactAdded += ReactionAddedAsync; }
public JaraSoukupModule(IConfigurationService configService, CommandHandlingService chService) { _config = configService.Configuration; _jaraSoukupUserId = _config["UserIds:JaraSoukup"]; _rabbit2Emoji = new Emoji(_config["Emojis:Rabbit2"]); var blueCheckmark = new Emoji(_config["Emojis:BlueCheckmark"]); _baseWarnMessageModule = new BaseWarnMessageModule(configService, blueCheckmark); chService.ReactAdded += ReactionAddedAsync; }