import re

class PingResponse(object):

	def __init__(self):
		self.match = ("^ping(!)*$",)

	def init(self, chats):
		return

	def shutdown(self, chats):
		return

	def notify(self, message):
		body = message.Body
		for exp in self.match:
			if re.search(exp, body):
				message.Chat.SendMessage("[Auto Ping Response]: pong" + "!"*body.count("!"))


def getinstance():
	return PingResponse()

7c99b5496efbfe1ddea9f43bd4e097e54d8d8eb3
<mask token>


class PingResponse(object):

    def __init__(self):
        self.match = '^ping(!)*$',

    def init(self, chats):
        return
    <mask token>

    def notify(self, message):
        body = message.Body
        for exp in self.match:
            if re.search(exp, body):
                message.Chat.SendMessage('[Auto Ping Response]: pong' + '!' *
                    body.count('!'))


<mask token>

<mask token>


class PingResponse(object):

    def __init__(self):
        self.match = '^ping(!)*$',

    def init(self, chats):
        return

    def shutdown(self, chats):
        return

    def notify(self, message):
        body = message.Body
        for exp in self.match:
            if re.search(exp, body):
                message.Chat.SendMessage('[Auto Ping Response]: pong' + '!' *
                    body.count('!'))


<mask token>

<mask token>


class PingResponse(object):

    def __init__(self):
        self.match = '^ping(!)*$',

    def init(self, chats):
        return

    def shutdown(self, chats):
        return

    def notify(self, message):
        body = message.Body
        for exp in self.match:
            if re.search(exp, body):
                message.Chat.SendMessage('[Auto Ping Response]: pong' + '!' *
                    body.count('!'))


def getinstance():
    return PingResponse()

import re


class PingResponse(object):

    def __init__(self):
        self.match = '^ping(!)*$',

    def init(self, chats):
        return

    def shutdown(self, chats):
        return

    def notify(self, message):
        body = message.Body
        for exp in self.match:
            if re.search(exp, body):
                message.Chat.SendMessage('[Auto Ping Response]: pong' + '!' *
                    body.count('!'))


def getinstance():
    return PingResponse()

import re

class PingResponse(object):

	def __init__(self):
		self.match = ("^ping(!)*$",)

	def init(self, chats):
		return

	def shutdown(self, chats):
		return

	def notify(self, message):
		body = message.Body
		for exp in self.match:
			if re.search(exp, body):
				message.Chat.SendMessage("[Auto Ping Response]: pong" + "!"*body.count("!"))


def getinstance():
	return PingResponse()
