mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +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):
|
||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||
#plugins.Toggleabel.__init__(self)
|
||||
plugins.Toggleable.__init__(self)
|
||||
self.entre = re.compile('&(\S*?);')
|
||||
self.db = makeDb(dbfilename)
|
||||
|
||||
|
@ -79,7 +79,7 @@ class Ebay(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
||||
|
||||
def __init__(self):
|
||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||
#plugins.Toggleable.__init__(self)
|
||||
plugins.Toggleable.__init__(self)
|
||||
|
||||
_reopts = re.I | re.S
|
||||
_info = re.compile(r'<title>eBay item (\d+) \([^)]+\) - ([^<]+)</title>',
|
||||
|
@ -86,7 +86,7 @@ class Gameknot(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
||||
'stat' : True})
|
||||
def __init__(self):
|
||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||
#plugins.Toggleable.__init__(self)
|
||||
plugins.Toggleable.__init__(self)
|
||||
|
||||
_gkrating = re.compile(r'<font color="#FFFF33">(\d+)</font>')
|
||||
_gkgames = re.compile(r's: </td><td class=sml>(\d+)</td></tr>')
|
||||
|
@ -143,7 +143,7 @@ class Google(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
||||
'search' : False})
|
||||
def __init__(self):
|
||||
super(self.__class__, self).__init__()
|
||||
#plugins.Toggleable.__init__(self)
|
||||
plugins.Toggleable.__init__(self)
|
||||
self.total = 0
|
||||
self.totalTime = 0
|
||||
self.last24hours = structures.queue()
|
||||
|
@ -115,7 +115,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp, plugins.Toggleable):
|
||||
|
||||
def __init__(self):
|
||||
callbacks.PrivmsgCommandAndRegexp.__init__(self)
|
||||
#plugins.Toggleable.__init__(self)
|
||||
plugins.Toggleable.__init__(self)
|
||||
|
||||
def _formatResp(self, num, text):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user