threshette/irc.py
def on_message(self):
        """
        Defines the actions that the bot object should take when it receives
        a message.
        """
        if self.mailbox.find('PING') != -1:
            self.send('PONG {}'.format(self.mailbox.split(' ')[1]))

        Defines the actions that the bot object should take when it receives
        a message.
        
Defines the actions that the bot object should take when it receives
a message.
Defines the actions that the bot object should take when it receives a message .
def on_message(self):
        if self.mailbox.find('PING') != -1:
            self.send('PONG {}'.format(self.mailbox.split(' ')[1]))
def on_message ( self ) : if self . mailbox . find ( 'PING' ) != - 1 : self . send ( 'PONG {}' . format ( self . mailbox . split ( ' ' ) [ 1 ] ) )
Defines the actions that the bot object should take when it receives
a message.
Defines the actions that the bot object should take when it receives a message .
"""
        Defines the actions that the bot object should take when it receives
        a message.
        """
self