14 lines
493 B
JavaScript
14 lines
493 B
JavaScript
module.exports = {
|
|
name: 'help',
|
|
description: 'Get info and help about this bot.',
|
|
execute (event, args, bot) {
|
|
let text
|
|
bot.commands.forEach((value, key, map) => {
|
|
text += value.name + ': ' + value.description + ' | '
|
|
})
|
|
|
|
bot.say(event.target, 'Hi, I\'m Cactus, you can grow a cactus to become the tallest! My maintainer is forero, my prefix is \'=\' and my commands are:')
|
|
bot.say(event.target, text + 'Source: https://tildegit.org/forero/cactus-irc/')
|
|
}
|
|
}
|