From 8a4748fe215d70c0a135afdbc98fd123b943506d Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Wed, 22 Dec 2021 08:37:48 +0100 Subject: [PATCH] add default desc --- commands/ssps/suplovani.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/ssps/suplovani.js b/commands/ssps/suplovani.js index 0b218aa..5091c2d 100644 --- a/commands/ssps/suplovani.js +++ b/commands/ssps/suplovani.js @@ -42,6 +42,10 @@ module.exports = class suplovani extends commando.Command { ); } + if(!embed.fields.length) { + embed.setDescription("Není hlášeno žádné suplování."); + } + return msg.say(embed); } }; \ No newline at end of file