mirror of
https://gitlab.com/vylion/velascobot.git
synced 2025-06-22 12:24:38 +02:00
Velasco 2.3b
- Removed wake up messages from non-group chats
This commit is contained in:
parent
82d5863d27
commit
edca56e23c
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def wake(bot):
|
||||||
for c in chatlogs:
|
for c in chatlogs:
|
||||||
try:
|
try:
|
||||||
print("Waking up on chat {}.".format(c))
|
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")
|
bot.sendMessage(c, "Good morning. I just woke up")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue