self.module.msg(self.cname,
msg + " '.trivia [number]' to start playing again.")
+ def skip(self):
+ '''Stops the current question and asks the next question'''
+ try:
+ self.question_timer.stop()
+ self.hint_timer.stop()
+ except AttributeError:
+ return
+
+ self.answer = []
+ self.hints_given = 0
+ self.hint_timer = task.LoopingCall(self.ask)
+ self.hint_timer.start(5, False)
+
+ self.module.msg(self.cname, "Skipping question")