PharmaBot/commands/utility/args-info.js
2021-04-28 16:19:22 +10:00

12 lines
269 B
JavaScript

module.exports = {
name: 'args-info',
description: 'Information about the arguments provided.',
args: true,
execute(message, args) {
if (args[0] === 'foo') {
return message.channel.send('bar');
}
message.channel.send(`First argument: ${args[0]}`);
},
};