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