mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Added the Toggleable.__init__'s and therefore the help commands
This commit is contained in:
parent
6d36432508
commit
0400f02f13
@ -101,7 +101,7 @@ class Bugzilla(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||||
#plugins.Toggleabel.__init__(self)
|
plugins.Toggleable.__init__(self)
|
||||||
self.entre = re.compile('&(\S*?);')
|
self.entre = re.compile('&(\S*?);')
|
||||||
self.db = makeDb(dbfilename)
|
self.db = makeDb(dbfilename)
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||||
#plugins.Toggleable.__init__(self)
|
plugins.Toggleable.__init__(self)
|
||||||
|
|
||||||
_reopts = re.I | re.S
|
_reopts = re.I | re.S
|
||||||
_info = re.compile(r'<title>eBay item (\d+) \([^)]+\) - ([^<]+)</title>',
|
_info = re.compile(r'<title>eBay item (\d+) \([^)]+\) - ([^<]+)</title>',
|
||||||
|
@ -86,7 +86,7 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
|||||||
'stat' : True})
|
'stat' : True})
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||||
#plugins.Toggleable.__init__(self)
|
plugins.Toggleable.__init__(self)
|
||||||
|
|
||||||
_gkrating = re.compile(r'<font color="#FFFF33">(\d+)</font>')
|
_gkrating = re.compile(r'<font color="#FFFF33">(\d+)</font>')
|
||||||
_gkgames = re.compile(r's: </td><td class=sml>(\d+)</td></tr>')
|
_gkgames = re.compile(r's: </td><td class=sml>(\d+)</td></tr>')
|
||||||
|
@ -143,7 +143,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
|||||||
'search' : False})
|
'search' : False})
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super(self.__class__, self).__init__()
|
super(self.__class__, self).__init__()
|
||||||
#plugins.Toggleable.__init__(self)
|
plugins.Toggleable.__init__(self)
|
||||||
self.total = 0
|
self.total = 0
|
||||||
self.totalTime = 0
|
self.totalTime = 0
|
||||||
self.last24hours = structures.queue()
|
self.last24hours = structures.queue()
|
||||||
|
@ -115,7 +115,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||||
#plugins.Toggleable.__init__(self)
|
plugins.Toggleable.__init__(self)
|
||||||
|
|
||||||
def _formatResp(self, num, text):
|
def _formatResp(self, num, text):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user