コード例 #1
0
ファイル: NenPlugin.cs プロジェクト: detmach/SharpIrcBot
        public NenPlugin(IConnectionManager connMgr, JObject config)
        {
            ConnectionManager = connMgr;
            Config            = new NenConfig(config);

            LoadWords();

            ConnectionManager.ChannelMessage += HandleChannelMessageOrAction;
            ConnectionManager.ChannelAction  += HandleChannelMessageOrAction;
        }
コード例 #2
0
ファイル: NenPlugin.cs プロジェクト: detmach/SharpIrcBot
 public virtual void ReloadConfiguration(JObject newConfig)
 {
     Config = new NenConfig(newConfig);
     PostConfigReload();
 }