botbot-bot:BotBot.me的IRC机器人

时间:2021-03-26 18:16:08
【文件属性】:
文件名称:botbot-bot:BotBot.me的IRC机器人
文件大小:34KB
文件格式:ZIP
更新时间:2021-03-26 18:16:08
Go botbot.me中使用的bot是Go(1.2+)程序。 安装: go get github.com/BotBotMe/botbot-bot 外部资源: 具有在schema.sql定义的架构的Postgres数据库。 一个Redis数据库,用作插件和bot之间的消息总线。 从botbot_sample.dump加载样本数据之前,您需要使用irc昵称和密码更新脚本。 安装数据库架构并加载示例数据: psql -U botbot -h localhost -W botbot -f schema.sql psql -U botbot -h localhost -W botbot -f botbot_sample.dump 通过环境变量处理配置: STORAGE_URL=postgres://user:password@host:port/db_name \ QUEUE_URL=red
【文件预览】:
botbot-bot-master
----sql()
--------schema.sql(7KB)
--------botbot_sample.dump(773B)
----common()
--------storage.go(5KB)
--------mock.go(3KB)
--------queue.go(5KB)
--------common.go(647B)
----main.go(1011B)
----AUTHORS(105B)
----dispatch()
--------dispatch.go(1KB)
--------dispatch_test.go(547B)
----certs()
--------README.md(300B)
--------key.pem(2KB)
--------cert.pem(1KB)
----line()
--------line.go(1KB)
--------line_test.go(1KB)
----Dockerfile(127B)
----.circleci()
--------config.yml(736B)
----LICENSE(1KB)
----user()
--------user_test.go(3KB)
--------user.go(2KB)
----main_test.go(3KB)
----README.md(2KB)
----network()
--------network.go(4KB)
--------irc()
----botbot.go(4KB)
----.gitignore(5B)

网友评论