public AntiAntiSwearingBot(Config cfg, SearchDictionary dict) { Config = cfg; Dict = dict; Unbleeper = new Unbleeper(dict, cfg.Unbleeper); }
public Unbleeper(SearchDictionary dict, UnbleeperSettings cfg) { Dict = dict; Cfg = cfg; BleepedSwearsRegex = new Regex("^" + Cfg.BleepedSwearsRegex + "$", RegexOptions.Compiled); }