added a badmeme
This commit is contained in:
parent
a14ef88cf9
commit
8b8c918b6f
2 changed files with 1 additions and 1 deletions
|
@ -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
BIN
pictures/4.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 141 KiB |
Loading…
Reference in a new issue