1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 11:34:18 +00:00

🐛 Handle empty vcs

This commit is contained in:
Steffo 2021-04-30 13:06:44 +02:00
parent 4982c5a8d4
commit 0f3d13fc8a
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -35,6 +35,9 @@ async def cv(*, _msg: engi.Message, _pda: engi.PDA, **__):
message.append("") message.append("")
message.append("") message.append("")
if len(message) == 0:
message.append("☁️ \uE011Non c'è nessuno in chat vocale.\uE001")
await _msg.reply(text="\n".join(message)) await _msg.reply(text="\n".join(message))