forked from Supositware/Haha-Yes
13 lines
333 B
JavaScript
13 lines
333 B
JavaScript
|
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]}`);
|
||
|
},
|
||
|
};
|