@keyword('8ball')
    @keyword.autohelp_noargs
    def magic_8ball(self, irc_c, msg, trigger, args, kargs):
        """[question]? :: Ask the magic 8 ball a question."""
        if not msg.message.endswith('?'):
            msg.reply("%s: that does not look like a question to me" %
                      msg.nick)
            return
        msg.reply((msg.nick, random.choice(self.ballresp)) % "%s: %s")
dataset/ETHPy150Open facebook/pyaib/example/plugins/jokes.py/Jokes.magic_8ball/swapped operands of `%`