From cc1907e5796401c4b6fc7ee8a9d8ce49b5bcb46e Mon Sep 17 00:00:00 2001 From: Tanner Date: Wed, 18 Jun 2014 16:23:50 -0500 Subject: [PATCH] General minor improvements to text --- __init__.py | 4 ++-- plugin.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/__init__.py b/__init__.py index 7e176b6..18d097c 100644 --- a/__init__.py +++ b/__init__.py @@ -14,7 +14,7 @@ import supybot.world as 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__ = "v0.6" +__version__ = "v1.04" # XXX Replace this with an appropriate author or supybot.Author instance. __author__ = supybot.Author('Tanner', 'tann', @@ -22,7 +22,7 @@ __author__ = supybot.Author('Tanner', 'tann', # This is a dictionary mapping supybot.Author instances to lists of # contributions. -__contributors__ = {'rootcoma', 'Th0masR0ss'} +__contributors__ = {'rootcoma', 'Th0masR0ss', 'brrr'} # This is a url where the most recent plugin package can be downloaded. __url__ = 'https://github.com/tannn/TriviaTime/tree/master' diff --git a/plugin.py b/plugin.py index 2dd2279..c3f9527 100644 --- a/plugin.py +++ b/plugin.py @@ -61,7 +61,7 @@ class TriviaTime(callbacks.Plugin): currentDBVersion = 1.2 def __init__(self, irc): - log.info('*** Loaded TriviaTime!!! ***') + log.info('** TriviaTime loaded! **') self.__parent = super(TriviaTime, self) self.__parent.__init__(irc) @@ -154,7 +154,7 @@ class TriviaTime(callbacks.Plugin): if game is not None: # Look for command to list remaining KAOS if msg.args[1] == kaosRemainingCommand and game.question.find("KAOS:") == 0: - irc.sendMsg(ircmsgs.notice(msg.nick, "'{0}' now also works for KAOS hints! Please try it out!".format(otherHintCommand))) + irc.sendMsg(ircmsgs.notice(msg.nick, "'{0}' now also works for KAOS hints, check it out!".format(otherHintCommand))) game.getRemainingKAOS() elif msg.args[1] == otherHintCommand: if game.question.find("KAOS:") == 0: @@ -193,7 +193,7 @@ class TriviaTime(callbacks.Plugin): channel = name break if channel == '': - irc.sendMsg(ircmsgs.notice(username, '%s: Ping reply: %0.2f seconds' % (username, pingTime))) + irc.sendMsg(ircmsgs.notice(username, 'Ping reply: %0.2f seconds' % (pingTime))) else: irc.sendMsg(ircmsgs.privmsg(channel, '%s: Ping reply: %0.2f seconds' % (username, pingTime))) @@ -208,7 +208,7 @@ class TriviaTime(callbacks.Plugin): user = threadStorage.getUser(username, channel) if not self.voiceTimeouts.has(usernameCanonical): self.voiceTimeouts.append(usernameCanonical) - irc.sendMsg(ircmsgs.privmsg(channel, 'Giving MVP to %s for being top #%d this WEEK' % (username, user[15]))) + irc.sendMsg(ircmsgs.privmsg(channel, 'Giving voice to %s for being MVP this WEEK (#%d)' % (username, user[15]))) def handleVoice(self, irc, username, channel): if not self.registryValue('voice.enableVoice'):