diff --git a/__init__.py b/__init__.py index 8689cbc..d19180d 100644 --- a/__init__.py +++ b/__init__.py @@ -38,7 +38,7 @@ from supybot import world # Use this for the version of this plugin. You may wish to put a CVS keyword # in here if you're keeping the plugin in CVS or some similar system. -__version__ = "0.4" +__version__ = "0.5" # XXX Replace this with an appropriate author or supybot.Author instance. __author__ = supybot.Author('Peter Ajamian', 'pj', 'peter@pajamian.dhs.org') diff --git a/plugin.py b/plugin.py index 9fd24ad..11dd371 100644 --- a/plugin.py +++ b/plugin.py @@ -64,6 +64,10 @@ class Pastebin2cpaste(callbacks.Plugin): 'www.irccloud.com': { 'regex': re.compile(r'/pastebin(?:/raw)?/([0-9a-zA-Z]+)(?:/.*)?[.:?!,]*$'), 'url': 'https://www.irccloud.com/pastebin/raw/%s' + }, + 'termbin.com': { + 'regex': re.compile(r'(0-9a-zA-Z)+)[.:?!,]*$'), + 'url': 'https://termbin.com/%s' } }