Change supybot plugin name back to MeetBot

Ignore-this: 393e3be2b8c6643d7830c36f5f274421
- Leaving it at MeetBot preserves compatibility with old configuration
  and is still descriptive enough.

darcs-hash:20101210052334-82ea9-4482b8dcc7b945f5d6e4246f1300587efba0f1ec.gz
This commit is contained in:
Richard Darst 2010-12-09 21:23:34 -08:00
parent 6f1cd7680e
commit 1e84fdf2cc
5 changed files with 8 additions and 8 deletions

View File

@ -55,12 +55,12 @@ try: recent_meetings
except NameError: recent_meetings = [ ]
class Meeting(callbacks.Plugin):
"""Add the help for "@plugin help Meeting" here
class MeetBot(callbacks.Plugin):
"""Add the help for "@plugin help MeetBot" here
This should describe *how* to use this plugin."""
def __init__(self, irc):
self.__parent = super(Meeting, self)
self.__parent = super(MeetBot, self)
self.__parent.__init__(irc)
# Instead of using real supybot commands, I just listen to ALL
@ -294,9 +294,9 @@ class Meeting(callbacks.Plugin):
# command (it does check more than I'd like). Heavy Wizardry.
instancemethod = type(self.__getattr__)
wrapped_function = wrap(wrapped_function, [optional('text', '')])
return instancemethod(wrapped_function, self, Meeting)
return instancemethod(wrapped_function, self, MeetBot)
Class = Meeting
Class = MeetBot
# vim:set shiftwidth=4 tabstop=4 expandtab textwidth=79:

View File

@ -39,7 +39,7 @@ import ircmeeting.meeting as meeting
import ircmeeting.writers as writers
# The plugin group for configuration
MeetBotConfigGroup = conf.registerPlugin('Meeting')
MeetBotConfigGroup = conf.registerPlugin('MeetBot')
class WriterMap(registry.String):
"""List of output formats to write. This is a space-separated

View File

@ -33,9 +33,9 @@ from supybot.test import *
import os
import sys
class MeetingTestCase(ChannelPluginTestCase):
class MeetBotTestCase(ChannelPluginTestCase):
channel = "#testchannel"
plugins = ('Meeting',)
plugins = ('MeetBot',)
def testRunMeeting(self):
test_script = file(os.path.join("test-script-2.log.txt"))