Added a meme
This commit is contained in:
parent
6af05bcc31
commit
c3939feb14
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 = 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
BIN
pictures/12.jpeg
Normal file
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
Loading…
Reference in a new issue