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