added say command and comments

This commit is contained in:
2023-05-11 11:09:50 -04:00
parent 1916cb8725
commit f71899e9c0
4 changed files with 72 additions and 33 deletions

View File

@ -12,5 +12,14 @@ module.exports = {
`${command} -- ${this.commands[command].desc || ''}`
));
}
},
'say': {
desc: `Make the bot say stuff in chat`,
allowed: ['wmantly', 'useless666', 'tux4242'],
ignoreLock: true,
async function(from, ...messages){
await this.say((messages || []).join(' '));
}
}
};