mirror of
https://github.com/pajamian/Pastebin2cpaste.git
synced 2025-04-25 20:41:21 -05:00
Added termbin.com
This commit is contained in:
parent
b730961ba3
commit
126c47d9ca
@ -38,7 +38,7 @@ from supybot import world
|
|||||||
|
|
||||||
# Use this for the version of this plugin. You may wish to put a CVS keyword
|
# 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.
|
# 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.
|
# XXX Replace this with an appropriate author or supybot.Author instance.
|
||||||
__author__ = supybot.Author('Peter Ajamian', 'pj', 'peter@pajamian.dhs.org')
|
__author__ = supybot.Author('Peter Ajamian', 'pj', 'peter@pajamian.dhs.org')
|
||||||
|
@ -64,6 +64,10 @@ class Pastebin2cpaste(callbacks.Plugin):
|
|||||||
'www.irccloud.com': {
|
'www.irccloud.com': {
|
||||||
'regex': re.compile(r'/pastebin(?:/raw)?/([0-9a-zA-Z]+)(?:/.*)?[.:?!,]*$'),
|
'regex': re.compile(r'/pastebin(?:/raw)?/([0-9a-zA-Z]+)(?:/.*)?[.:?!,]*$'),
|
||||||
'url': 'https://www.irccloud.com/pastebin/raw/%s'
|
'url': 'https://www.irccloud.com/pastebin/raw/%s'
|
||||||
|
},
|
||||||
|
'termbin.com': {
|
||||||
|
'regex': re.compile(r'(0-9a-zA-Z)+)[.:?!,]*$'),
|
||||||
|
'url': 'https://termbin.com/%s'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user