Example #1
0
        public NenPlugin(IConnectionManager connMgr, JObject config)
        {
            ConnectionManager = connMgr;
            Config            = new NenConfig(config);

            LoadWords();

            ConnectionManager.ChannelMessage += HandleChannelMessageOrAction;
            ConnectionManager.ChannelAction  += HandleChannelMessageOrAction;
        }
Example #2
0
 public virtual void ReloadConfiguration(JObject newConfig)
 {
     Config = new NenConfig(newConfig);
     PostConfigReload();
 }