added vid

This commit is contained in:
Loïc Bersier 2018-09-08 20:42:58 +02:00
parent 53f9f34539
commit 7a75d7b9a0
2 changed files with 3 additions and 2 deletions

View file

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

View file

@ -2,5 +2,6 @@
"1": "https://twitter.com/i/status/1037932315727618048",
"2": "https://www.youtube.com/watch?v=W3GrSMYbkBE",
"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"
}