lbry-wunderbot/bot/modules/example.js
Fillerino 288e166f20 Uploaded the main code!
Uploaded the main sourcecode and some unfinished commands!
2017-10-25 21:31:42 +02:00

22 lines
No EOL
537 B
JavaScript

/*
exports.commands = [
"demo" // command that is in this file, every command needs it own export as shown below
]
exports.custom = [
"initFunction"
]
exports.demo = {
usage: "<subcommand>",
description: 'description of command',
process: function(bot,msg,suffix){
// Here the bot,msg and suffix is avaible, this function can be async if needed.
}
}
exports.initFunction = function(bot) {
// Other functions that needs to be ran once on bootup!
// For example a timed function and or some init stuff..
}
*/