From 0f3d13fc8a16cc5c2ac72b222f14fbd2bdea57c5 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 30 Apr 2021 13:06:44 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Handle=20empty=20vcs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalpack/commands/cv.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/royalpack/commands/cv.py b/royalpack/commands/cv.py index 086e6f01..c03338df 100644 --- a/royalpack/commands/cv.py +++ b/royalpack/commands/cv.py @@ -35,6 +35,9 @@ async def cv(*, _msg: engi.Message, _pda: engi.PDA, **__): message.append("") message.append("") + if len(message) == 0: + message.append("☁️ \uE011Non c'è nessuno in chat vocale.\uE001") + await _msg.reply(text="\n".join(message))