Fix format statement in do_listsotd
This commit is contained in:
parent
c70476cdf2
commit
3d27e1b65c
2
bot.py
2
bot.py
|
@ -54,7 +54,7 @@ class SOTDBot(teambot.Handler,teambot.CommandHandlerMixin):
|
|||
for k in SOTDS.data:
|
||||
sotd = SOTDS[k]
|
||||
t = time.strftime("%B %d, %Y",time.localtime(SOTDS.getSetTime(k)))
|
||||
self.say(self.target,self.sourcenick+": {} - {} ({}, set {})".format(k,sotd[1],sotd[0],t))
|
||||
self.say(self.target,self.sourcenick+": {} - {} ({}, set {})".format(k,sotd[0],sotd[1],t))
|
||||
|
||||
if __name__=="__main__":
|
||||
channels = "#bots".split()
|
||||
|
|
Reference in New Issue