Velasco 2.3b

- Removed wake up messages from non-group chats
This commit is contained in:
vylion 2018-09-21 00:10:10 +02:00
parent 82d5863d27
commit edca56e23c

View file

@ -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