+
+ if hastwitter:
+ t = twitter.Twitter(auth=twitter.OAuth(self.getbot().parent.cfg.get('trivia', 'token'),
+ self.getbot().parent.cfg.get('trivia', 'token_sec'),
+ self.getbot().parent.cfg.get('trivia', 'con'),
+ self.getbot().parent.cfg.get('trivia', 'con_sec')))
+ t.statuses.update(status="Round is over! The winner was %s" % (winner))
+