From 8c66d97bf5ec559c7eeca9db2b272390921790ed Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 23 May 2016 21:08:22 +0200 Subject: [PATCH] Send message if no clients are found --- infobot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infobot.py b/infobot.py index d0a2cc4..662aeeb 100644 --- a/infobot.py +++ b/infobot.py @@ -81,7 +81,7 @@ class InfoBot(yaboli.Bot): msg = msg[:-1] # remove trailing newline else: - return + msg = "No clients" else: people = len(self.room.get_people())