From b3866089369975f8c257394b56d7d3e133e94e8b Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 9 Sep 2018 16:02:35 +0200 Subject: [PATCH] Say the pic/vid number --- commands/fun/badmeme.js | 2 +- commands/fun/despacito.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/badmeme.js b/commands/fun/badmeme.js index 675eb57..db8ed19 100644 --- a/commands/fun/badmeme.js +++ b/commands/fun/badmeme.js @@ -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]}`); } }; \ No newline at end of file diff --git a/commands/fun/despacito.js b/commands/fun/despacito.js index 00b66a5..a2babc8 100644 --- a/commands/fun/despacito.js +++ b/commands/fun/despacito.js @@ -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]}`); } }; \ No newline at end of file