added vid

Commando
Loïc Bersier 6 years ago
parent 53f9f34539
commit 7a75d7b9a0

@ -11,7 +11,7 @@ module.exports = class DespacitoCommand extends Command {
} }
run(message) { run(message) {
const number = 4; const number = 5;
const vidNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1; const vidNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1;
message.channel.send(responseObject[vidNumber]); message.channel.send(responseObject[vidNumber]);
} }

@ -2,5 +2,6 @@
"1": "https://twitter.com/i/status/1037932315727618048", "1": "https://twitter.com/i/status/1037932315727618048",
"2": "https://www.youtube.com/watch?v=W3GrSMYbkBE", "2": "https://www.youtube.com/watch?v=W3GrSMYbkBE",
"3": "https://www.youtube.com/watch?v=OuzRcfWyurE", "3": "https://www.youtube.com/watch?v=OuzRcfWyurE",
"4": "https://www.youtube.com/watch?v=IejjQzExNM4" "4": "https://www.youtube.com/watch?v=IejjQzExNM4",
"5": "https://www.youtube.com/watch?v=zUAtDlAoaac"
} }
Loading…
Cancel
Save