This commit is contained in:
deathbybandaid 2019-06-19 08:18:21 -04:00
parent b205fab105
commit 61e28a996f

View File

@ -5,7 +5,8 @@ import sopel
# @sopel.module.url('(.*)')
@sopel.module.url(r'xkcd.com/(\d+)')
# @sopel.module.url(r'xkcd.com/(\d+)')
@sopel.module.rule(r'(?u).*(https?://\S+).*')
def watch_url(bot, trigger):
bot.osd(str(trigger))