mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test
This commit is contained in:
parent
b205fab105
commit
61e28a996f
@ -5,7 +5,8 @@ import sopel
|
|||||||
|
|
||||||
|
|
||||||
# @sopel.module.url('(.*)')
|
# @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):
|
def watch_url(bot, trigger):
|
||||||
|
|
||||||
bot.osd(str(trigger))
|
bot.osd(str(trigger))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user