Advertisement
MeKLiN2

Untitled

Jan 4th, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. def do_8ball(self, question):
  2. """
  3. Shows magic eight ball answer to a yes/no question.
  4. :param question: The yes/no question.
  5. :type question: str
  6. """
  7. if len(question) is 0:
  8. self.send_chat_msg('Question.')
  9. else:
  10. self.send_chat_msg('8Ball %s' % locals_.eight_ball())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement