def handle_ping(data, match, client, channels): """ Ping! Send pong back. '^PING.*' :type data: str :type match: dict :type client: Client :type channels: list """ # logger.debug("Got ping from {nick}", nick=client.nick) return [Protocol.pong()]