Compare commits

..

No commits in common. "3c1c95aa3a854ca7cd4f293f58d3eed853e71e95" and "8225efe9cc096b94c2dc175031bccc1f6089a40c" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -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 list(bot.memory['lazy_remind'].get(trigger.nick, [])):
for remind in bot.memory['lazy_remind'].get(trigger.nick, []):
bot.msg(remind)
bot.memory['lazy_remind'][trigger.nick].remove(remind)

View File

@ -30,8 +30,8 @@ def get_puush_fname(bot, url):
bot.msg(f"[ \x0310puu.sh \x03] - \x0304{fname}")
@url_callback("youtube.com/watch")
@url_callback("youtu.be/watch")
@url_callback("youtube.com/")
@url_callback("youtu.be/")
def youtube_title(bot, url):
"""
Retrieve the title of the YouTube video and display it.