mirror of
https://github.com/LBRYFoundation/lbry-wunderbot.git
synced 2025-08-23 09:37:27 +00:00
22 lines
No EOL
537 B
JavaScript
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..
|
|
}
|
|
*/ |