Initial botka repository

Forked from 67P/hal8000
This commit is contained in:
Greg 2016-11-22 13:21:29 +01:00
parent fc35aefab0
commit 478c93a742
7 changed files with 16 additions and 42 deletions

View File

@ -1,6 +1,6 @@
# hal8000
# botka
hal8000 is a chat bot built on the [Hubot][hubot] framework. It was
botka is a chat bot built on the [Hubot][hubot] framework. It was
initially generated by [generator-hubot][generator-hubot], and configured to be
deployed on [Heroku][heroku] to get you up and running as quick as possible.
@ -12,26 +12,26 @@ has, etc!
[hubot]: http://hubot.github.com
[generator-hubot]: https://github.com/github/generator-hubot
### Running hal8000 Locally
### Running botka Locally
You can test your hubot by running the following, however some plugins will not
behave as expected unless the [environment variables](#configuration) they rely
upon have been set.
You can start hal8000 locally by running:
You can start botka locally by running:
% bin/hubot
You'll see some start up output and a prompt:
[Sat Feb 28 2015 12:38:27 GMT+0000 (GMT)] INFO Using default redis on localhost:6379
hal8000>
botka>
Then you can interact with hal8000 by typing `hal8000 help`.
Then you can interact with botka by typing `botka help`.
hal8000> hal8000 help
hal8000 animate me <query> - The same thing as `image me`, except adds [snip]
hal8000 help - Displays all of the help commands that hal8000 knows about.
botka> botka help
botka animate me <query> - The same thing as `image me`, except adds [snip]
botka help - Displays all of the help commands that botka knows about.
...
### Configuration

View File

@ -5,4 +5,4 @@ set -e
npm install
export PATH="node_modules/.bin:node_modules/hubot/node_modules/.bin:$PATH"
exec node_modules/.bin/hubot --name "hal9000" "$@"
exec node_modules/.bin/hubot --name "botka_dev" "$@"

View File

@ -1,3 +1,3 @@
@echo off
npm install && node_modules\.bin\hubot.cmd --name "hal9000" %*
npm install && node_modules\.bin\hubot.cmd --name "botka_dev" %*

View File

@ -1,16 +1,4 @@
[
"hubot-auth",
"hubot-help",
"hubot-read-tweet",
"hubot-redis-brain",
"hubot-rules",
"hubot-shipit",
"hubot-plusplus",
"hubot-tell",
"hubot-seen",
"hubot-rss-reader",
"hubot-remotestorage-logger",
"hubot-openassets",
"hubot-incoming-webhook",
"hubot-yubikey-invalidation"
"hubot-remotestorage-logger"
]

View File

@ -1 +0,0 @@
[]

View File

@ -1,5 +1,5 @@
{
"name": "hal8000",
"name": "botka",
"version": "0.6.0",
"private": true,
"authors": [
@ -15,18 +15,8 @@
"hubot-help": "^0.1.1",
"hubot-incoming-webhook": "^1.0.1",
"hubot-irc": "^0.2.9",
"hubot-openassets": "^0.9.0",
"hubot-plusplus": "^1.1.5",
"hubot-read-tweet": "0.0.2",
"hubot-redis-brain": "0.0.2",
"hubot-xmpp": "^0.2.4",
"hubot-remotestorage-logger": "^0.4.0",
"hubot-rss-reader": "git://github.com/67P/hubot-rss-reader.git",
"hubot-rules": "^0.1.0",
"hubot-scripts": "^2.5.16",
"hubot-seen": "https://github.com/67P/hubot-seen.git#fix_debug",
"hubot-shipit": "^0.2.0",
"hubot-tell": "^1.2.3",
"hubot-yubikey-invalidation": "0.0.3",
"request": "2.30.0"
},
"engines": {

7
run.sh
View File

@ -4,7 +4,7 @@
HUBOT_IRC_SERVER="irc.freenode.net" \
HUBOT_IRC_ROOMS="#kosmos-dev,#kosmos-random" \
HUBOT_IRC_NICK="hal7000" \
HUBOT_IRC_NICK="botka_dev" \
HUBOT_IRC_UNFLOOD="300" \
HUBOT_RSS_PRINTSUMMARY="false" \
HUBOT_RSS_IRCCOLORS="true" \
@ -16,9 +16,6 @@ RS_LOGGER_USER="kosmos@5apps.com" \
RS_LOGGER_TOKEN="change-me" \
RS_LOGGER_SERVER_NAME="freenode" \
RS_LOGGER_PUBLIC="true" \
OA_BOT_KEYWORD="kreditz" \
OA_ASSET_FROM_ADDRESS="akRWZJMETdM2U5UGKadKhv1PAj2npoGja1m" \
OA_ASSET_ID="AbDn6L2AUGnDreUuNkGFEqcxnsoUP4HCjm" \
WEBHOOK_TOKEN="kosmosplusplus" \
HUBOT_YUBIKEY_API_ID="change-me" \
bin/hubot -a irc --name hal7000
bin/hubot -a irc --name botka_dev