Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def do_8ball(self, question):
- """
- Shows magic eight ball answer to a yes/no question.
- :param question: The yes/no question.
- :type question: str
- """
- if len(question) is 0:
- self.send_chat_msg('Question.')
- else:
- self.send_chat_msg('8Ball %s' % locals_.eight_ball())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement