Added termbin.com

This commit is contained in:
Peter Ajamian 2020-11-10 09:34:43 +13:00
parent b730961ba3
commit 126c47d9ca
2 changed files with 5 additions and 1 deletions

View File

@ -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')

View File

@ -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'
}
}