sjetej update
This commit is contained in:
parent
cab8019bb1
commit
475169d018
@ -1,7 +1,5 @@
|
||||
// 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 = {
|
||||
@ -64,10 +62,13 @@ module.exports = {
|
||||
|
||||
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");
|
||||
const embed = {
|
||||
title: "Počasí",
|
||||
image: { url: "attachment://pocasi.png" }
|
||||
};
|
||||
|
||||
mes.channel.send({ embed, files: ["https://util.deadfish.cz/morepocasi/v/49.4348358/12.8147250/pocasi.png"] });
|
||||
break;
|
||||
|
||||
mes.channel.send({ embed });
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user