Haha-Yes/commands/args-info.js

13 lines
333 B
JavaScript
Raw Normal View History

2018-09-07 00:24:03 +02:00
module.exports = {
name: 'args-info',
description: 'change your text into arguments',
args: true,
usage: '<random arguments>',
execute(message, args) {
if (args[0] === 'foo') {
return message.channel.send('bar');
}
message.channel.send(`First argument: ${args[0]}`);
},
};