forked from GitHub/dbot
Merge pull request #50 from borntyping/master
Submodules, .gitignore, minor fix.
This commit is contained in:
commit
da8f9ea20f
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Ignore the user config files
|
||||||
|
config.json
|
||||||
|
|
||||||
|
# Ignore the user database
|
||||||
|
db.json
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "jsbot"]
|
||||||
|
path = jsbot
|
||||||
|
url = git://github.com/reality/jsbot.git
|
11
README.md
11
README.md
@ -14,10 +14,17 @@ writing documentation.
|
|||||||
Requirements:
|
Requirements:
|
||||||
|
|
||||||
- Node JS
|
- Node JS
|
||||||
- [JSBot](http://github.com/reality/JSBot "JSBot"), the Javascript library I
|
- [JSBot](http://github.com/reality/JSBot "JSBot"), a Javascript library which
|
||||||
wrote to handle the IRC protocol and event listeners etc.
|
handles the IRC protocol.
|
||||||
- Various modules have their own requirements also.
|
- Various modules have their own requirements also.
|
||||||
|
|
||||||
|
### JSBot
|
||||||
|
|
||||||
|
JSBot can be imported by running the following commands in the cloned repository:
|
||||||
|
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
|
||||||
## Modules:
|
## Modules:
|
||||||
|
|
||||||
### Command
|
### Command
|
||||||
|
@ -11,5 +11,5 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"admin": [ "batman" ],
|
"admin": [ "batman" ]
|
||||||
}
|
}
|
||||||
|
1
jsbot
Submodule
1
jsbot
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 43b90e24b9293029f6ef4362304fb127e4f1530c
|
2
run.js
2
run.js
@ -1,6 +1,6 @@
|
|||||||
var fs = require('fs');
|
var fs = require('fs');
|
||||||
var timers = require('./timer');
|
var timers = require('./timer');
|
||||||
var jsbot = require('./jsbot');
|
var jsbot = require('./jsbot/jsbot');
|
||||||
require('./snippets');
|
require('./snippets');
|
||||||
|
|
||||||
var DBot = function(timers) {
|
var DBot = function(timers) {
|
||||||
|
Loading…
Reference in New Issue
Block a user