Snoop:IRC Bot 我一直在研究使用 cinch 框架、rest api 等

时间:2021-06-30 22:01:50
【文件属性】:
文件名称:Snoop:IRC Bot 我一直在研究使用 cinch 框架、rest api 等
文件大小:29KB
文件格式:ZIP
更新时间:2021-06-30 22:01:50
Ruby 打嗝机器人 过去几个月我一直在基于 cinch 框架工作的 Irc bot 特征 运行网络服务器并可以使用 rest api 将消息打印到通道中(适用于 nagios 实时警报) 有一个插件可以轮询多个 nagios 服务器 可以设置为观看 redmine 项目并将信息输出到频道 可以使用所有谷歌搜索(图片、视频、网络等) 城市字典支持 很多其他的 编写插件 分支和编写,为了让插件自动加载添加到插件目录并让类扩展 CinchPlugin,添加帮助行并给我一个合并请求。 如果您将它们添加到线程目录并让类扩展 CinchThread,您还可以拥有后台工作线程。 测试 我有几个,请使用vcr,这样你就不必打网络了。
【文件预览】:
Snoop-master
----fixtures()
--------vcr_cassettes()
----lib()
--------bot.rb(2KB)
--------settings.rb(306B)
--------plugins()
--------cinchplugin.rb(213B)
--------threads()
--------cinchthread.rb(21B)
----Gemfile(399B)
----Guardfile(364B)
----spec()
--------plugins()
--------spec_helper.rb(331B)
----Rakefile(90B)
----README.markdown(819B)
----config()
--------test.yml(253B)
--------config.yml.sample(573B)
----Gemfile.lock(4KB)
----.gitignore(18B)
----bin()
--------bot.rb(759B)

网友评论