From edca56e23c36b8a42f53cfcb6be0e8d1715e4a73 Mon Sep 17 00:00:00 2001 From: vylion Date: Fri, 21 Sep 2018 00:10:10 +0200 Subject: [PATCH] Velasco 2.3b - Removed wake up messages from non-group chats --- velasco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/velasco.py b/velasco.py index c744eb7..19d2041 100755 --- a/velasco.py +++ b/velasco.py @@ -42,7 +42,7 @@ def wake(bot): for c in chatlogs: try: print("Waking up on chat {}.".format(c)) - if WAKEUP: + if WAKEUP and "group" in chatlogs[c].type: bot.sendMessage(c, "Good morning. I just woke up") except: pass