# kk-irc-bot **Repository Path**: 960/kk-irc-bot ## Basic Information - **Project Name**: kk-irc-bot - **Description**: 分不出是真人还是ROBOT的IRCBOT。 当时刚学RUBY,写着玩的机器人。 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: https://github.com/sevk/kk-irc-bot - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2015-04-24 - **Last Updated**: 2024-11-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README --- kk-irc-bot irc-bot , like a human --- ======= ## Installation and usage 需要安装ruby : 建议装 ruby 2.0 或更高 #### windows : http://tiny.cc/install_ruby_win (可能需要翻墙) #### linux下面随意 : * 系统软件包管理器,自己编译, rbenv等 * 比如 :apt-get install ruby ruby-dev ## 装完ruby后升级 gem : * 先把gem 服务器改成淘宝的 http://ruby.taobao.org/ * 然后命令: gem update --system * 然后安装库, cd 到bot 目录 : gem install bundler && bundle ## 运行: ruby irc.rb 或 ./irc.rb 直接双击 irc.rb 也行,但出错后,cmd窗口会消失,看不到出错信息。 配置文件是 default.conf ### 指定其他配置文件运行: cp default.conf xx.conf , 修改 xx.conf , 运行: ruby irc.rb xx.conf 或 ./irc.rb xx.conf * Core Team Members sevk License ------- MIT * 包括测试库: ▶ bundle install --standalone test * 执行测试: ▶ ruby test/test.rb