示例#1
0
        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;
        }
示例#2
0
        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;
        }