Added more počasí
This commit is contained in:
parent
2d9a2f6738
commit
cab8019bb1
@ -1,5 +1,7 @@
|
||||
// Sekce pro komandy, který jenom pošlou nějaký hovno bez a nevyžadují argumenty
|
||||
|
||||
const { MessageEmbed } = require("discord.js");
|
||||
|
||||
const pomoc = JSON.parse(require('fs').readFileSync('addons/pomoc.json'));
|
||||
|
||||
module.exports = {
|
||||
@ -60,9 +62,19 @@ module.exports = {
|
||||
break;
|
||||
}
|
||||
|
||||
case "počasí":
|
||||
case "pocasi":
|
||||
const embed = new MessageEmbed()
|
||||
.setTitle("Počasí")
|
||||
.attachFiles("https://util.deadfish.cz/morepocasi/v/49.4348358/12.8147250/pocasi.png")
|
||||
.setImage("attachment://pocasi.png");
|
||||
|
||||
mes.channel.send({ embed });
|
||||
break;
|
||||
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
};
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user