Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.48 KB | None | 0 0
  1.     def do_toke(self):
  2.         """
  3.        Performs a toke countdown
  4.        """
  5.         self._responder('%s is taking a toke in 60 seconds' % self._user.nick)
  6.         self._bot.timer.start(self.do_toke_stage2, 30)
  7.  
  8.     def do_toke_stage2(self):
  9.         self._responder('%s is taking a toke in 30 seconds!' % self._user.nick)
  10.         self._bot.timer.start(self.do_toke_stage3, 30)
  11.  
  12.     def do_toke_stage3(self):
  13.         self._responder('%s is taking a toke NOW!' % self._user.nick)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement