mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-05-07 12:03:45 -05:00
Remove all color, fix bugs, add bold
This commit is contained in:
parent
d101e6fdb7
commit
fa85c41f33
@ -162,7 +162,7 @@ conf.registerChannelValue(TriviaTime, 'answeredNormal',
|
||||
)
|
||||
|
||||
conf.registerChannelValue(TriviaTime, 'notAnswered',
|
||||
registry.NormalizedString("""Time's up! The answer was \x02%s\x02""",
|
||||
registry.NormalizedString("""Time's up! The answer was \x02%s\x02.""",
|
||||
"""Message when no one guesses the answer""")
|
||||
)
|
||||
|
||||
|
@ -1019,7 +1019,7 @@ class TriviaTime(callbacks.Plugin):
|
||||
hints = self.getHintString(self.hintsCounter)
|
||||
#increment hints counter
|
||||
self.hintsCounter += 1
|
||||
self.sendMessage('Hint %s: %s' % (self.hintsCounter, hints), 1, 9)
|
||||
self.sendMessage('Hint %s: \x02%s' % (self.hintsCounter, hints), 1, 9)
|
||||
#reset hint shown
|
||||
self.shownHint = False
|
||||
|
||||
@ -1104,7 +1104,7 @@ class TriviaTime(callbacks.Plugin):
|
||||
tempQuestion += '?'
|
||||
|
||||
# bold the q
|
||||
questionText = '%s' % (tempQuestion)
|
||||
questionText = '\x02%s' % (tempQuestion)
|
||||
|
||||
# KAOS? report # of answers
|
||||
if len(self.answers) > 1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user