mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-13 15:09:54 -05:00
test url detection
This commit is contained in:
parent
abfb3a8eed
commit
05821b10fe
13
sopel_modules/SpiceBot_Core_Processing/url.py
Normal file
13
sopel_modules/SpiceBot_Core_Processing/url.py
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# coding=utf8
|
||||||
|
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||||
|
"""
|
||||||
|
This is the SpiceBot Logs system.
|
||||||
|
"""
|
||||||
|
import sopel
|
||||||
|
|
||||||
|
|
||||||
|
@sopel.module.url('(.*)')
|
||||||
|
def watch_url(bot, trigger):
|
||||||
|
|
||||||
|
bot.osd(str(trigger))
|
||||||
|
bot.osd(str(trigger.args))
|
||||||
Loading…
Reference in New Issue
Block a user