You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
485 B
JavaScript
23 lines
485 B
JavaScript
8 years ago
|
var Fs = require("fs");
|
||
|
|
||
|
var insert = function (env, channel, content, cb) {
|
||
|
|
||
|
};
|
||
|
|
||
|
var getMessages = function (env, channelName, msgHandler, cb) {
|
||
|
|
||
|
};
|
||
|
|
||
|
module.exports.create = function (conf, cb) {
|
||
|
var env = {};
|
||
|
|
||
|
cb({
|
||
|
message: function (channelName, content, cb) {
|
||
|
insert(env, channelName, content, cb);
|
||
|
},
|
||
|
getMessages: function (channelName, msgHandler, cb) {
|
||
|
getMessages(env, channelName, msgHandler, cb);
|
||
|
},
|
||
|
});
|
||
|
};
|