General minor improvements to text
This commit is contained in:
parent
ff9a735624
commit
cc1907e579
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'):
|
||||
|
|
|
|||
Loading…
Reference in New Issue