Compare commits
2 Commits
8225efe9cc
...
3c1c95aa3a
Author | SHA1 | Date | |
---|---|---|---|
3c1c95aa3a | |||
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)
|
||||
|
|
|
@ -30,8 +30,8 @@ def get_puush_fname(bot, url):
|
|||
bot.msg(f"[ \x0310puu.sh \x03] - \x0304{fname}")
|
||||
|
||||
|
||||
@url_callback("youtube.com/")
|
||||
@url_callback("youtu.be/")
|
||||
@url_callback("youtube.com/watch")
|
||||
@url_callback("youtu.be/watch")
|
||||
def youtube_title(bot, url):
|
||||
"""
|
||||
Retrieve the title of the YouTube video and display it.
|
||||
|
|
Loading…
Reference in New Issue
Block a user