Added a meme

This commit is contained in:
Loïc Bersier 2018-09-08 20:36:56 +02:00
parent 6af05bcc31
commit c3939feb14
2 changed files with 1 additions and 1 deletions

View file

@ -10,7 +10,7 @@ module.exports = class BadmemeCommand extends Command {
} }
run(message) { run(message) {
const number = 11; const number = 12;
const imageNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1; const imageNumber = Math.floor (Math.random() * (number - 1 + 1)) + 1;
message.say( {files: ["./pictures/" + imageNumber + ".jpeg"]}); message.say( {files: ["./pictures/" + imageNumber + ".jpeg"]});
} }

BIN
pictures/12.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB