def unregister_command(self, command_name):
        """Unregisters a command from an handler"""

        if command_name in self.commands:
            self.commands.pop(command_name, None)
            self.logger.debug("Unregistered bot command: " + command_name)
        else:
            self.logger.warning("Tried to unregister a command called " + command_name + " that isn't registered yet")
dataset/ETHPy150Open Mathzx/zxLoLBoT/zxlolbot.py/zxLoLBoT.unregister_command/original