added a badmeme

This commit is contained in:
Loïc Bersier 2018-09-08 03:26:25 +02:00
parent a14ef88cf9
commit 8b8c918b6f
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 = 3; const number = 4;
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/4.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB