bugfix lazy reminds being announced one at a time
This commit is contained in:
parent
8225efe9cc
commit
5d6bf5e40f
|
@ -169,6 +169,6 @@ def announce_lazy_reminder(bot, remindee, reminder, delta=None):
|
|||
@module.hook(True)
|
||||
def lazy_remind(bot, trigger):
|
||||
"""Lazy reminds only activate when the person speaks."""
|
||||
for remind in bot.memory['lazy_remind'].get(trigger.nick, []):
|
||||
for remind in list(bot.memory['lazy_remind'].get(trigger.nick, [])):
|
||||
bot.msg(remind)
|
||||
bot.memory['lazy_remind'][trigger.nick].remove(remind)
|
||||
|
|
Loading…
Reference in New Issue
Block a user