@botcommand
    def help(self, sender, arg):
        """Returns help for commands
        Usage: help or help <command>
        Example: help or help mmr"""
        is_admin = self.is_admin(sender)
        reply = ""

        #Help for a single command
        if arg:
            if self.commands in arg[0]: #Valid command
                hiddenCommand = getattr(self.commands[arg[0]], "_zxLoLBoT_command_hidden", False)
                adminCommand  = getattr(self.commands[arg[0]], "_zxLoLBoT_command_admin", False)
                if (adminCommand and is_admin) or (not hiddenCommand and not adminCommand) or (hiddenCommand and is_admin):
                    doc = self.commands[arg[0]].__doc__ or "No description available"
                    reply = "Documentation for: " + arg[0] + "\n " + doc.replace("\t", "").replace("\n", "\n ").replace("    ", "")
        #Help for all commands
        else:
            reply += "List of available commands:\n "
            for command in sorted(self.commands):
                hiddenCommand = getattr(self.commands[command], "_zxLoLBoT_command_hidden", False)
                adminCommand  = getattr(self.commands[command], "_zxLoLBoT_command_admin", False)
                if (adminCommand and is_admin) or (not hiddenCommand and not adminCommand) or (hiddenCommand and is_admin):
                    doc = self.commands[command].__doc__ or "No description available"
                    if doc != "No description available":
                        doc = doc.split("\n")[0]
                    reply += command + " - " + doc + "\n "
        if reply:
            self.message(sender, reply)
        else:
            self.message(sender, "There is no command called: " + arg[0])
dataset/ETHPy150Open Mathzx/zxLoLBoT/zxlolbot.py/zxLoLBoT.help/swapped operands of `in`