1
0
Fork 0

Say the pic/vid number

Commando
unknown 6 years ago
parent 49224db7a7
commit b386608936

@ -13,6 +13,6 @@ module.exports = class BadmemeCommand extends Command {
run(message) {
const number = 12;
const picNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1;
message.channel.send(responseObject[picNumber]);
message.channel.send(`${picNumber}: ${responseObject[picNumber]}`);
}
};

@ -13,6 +13,6 @@ module.exports = class DespacitoCommand extends Command {
run(message) {
const number = 5;
const vidNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1;
message.channel.send(responseObject[vidNumber]);
message.channel.send(`${vidNumber}: ${responseObject[vidNumber]}`);
}
};
Loading…
Cancel
Save