mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-25 20:41:21 -05:00
Update plugin.py (#37)
* Update plugin.py Removed unneeded extra spaces on hints for regular trivia questions * Update plugin.py Remove unneeded space before the question
This commit is contained in:
parent
4efd5977b8
commit
6f90754be9
@ -445,7 +445,7 @@ class Game:
|
||||
def getExtraHintString(self):
|
||||
charMask = self.registryValue("hints.charMask", self.channel)
|
||||
ans = self.answers[0]
|
||||
hints = " Extra Hint: \x02\x0312"
|
||||
hints = "Extra Hint: \x02\x0312"
|
||||
divider = 0
|
||||
|
||||
if len(ans) < 2:
|
||||
@ -555,7 +555,7 @@ class Game:
|
||||
hints = self.getHintString(self.hintsCounter)
|
||||
self.hintsCounter += 1 # increment hints counter
|
||||
self.shownHint = False # reset hint shown
|
||||
self.sendMessage(" Hint %s: \x02\x0312%s" % (self.hintsCounter, hints), 1, 9)
|
||||
self.sendMessage("Hint %s: \x02\x0312%s" % (self.hintsCounter, hints), 1, 9)
|
||||
|
||||
def nextQuestion(self):
|
||||
"""
|
||||
@ -760,7 +760,7 @@ class Game:
|
||||
if self.questionType == "kaos":
|
||||
questionText += " %d possible answers" % (len(self.answers))
|
||||
|
||||
questionMessageString = " %s: %s" % (self.numAsked, questionText)
|
||||
questionMessageString = "%s: %s" % (self.numAsked, questionText)
|
||||
maxLength = 400
|
||||
questionMesagePieces = [
|
||||
questionMessageString[i : i + maxLength]
|
||||
|
Loading…
x
Reference in New Issue
Block a user