djangobot/client.py
def read_channel(self):
        """
        Get available messages and send through to the protocol
        """
        channel, message = self.protocol.channel_layer.receive_many([u'slack.send'], block=False)
        delay = 0.1
        if channel:
            self.protocols[0].sendSlack(message)
        reactor.callLater(delay, self.read_channel)
def read_channel(self):
        channel, message = self.protocol.channel_layer.receive_many([u'slack.send'], block=False)
        delay = 0.1
        if channel:
            self.protocols[0].sendSlack(message)
        reactor.callLater(delay, self.read_channel)
def read_channel ( self ) : channel , message = self . protocol . channel_layer . receive_many ( [ u'slack.send' ] , block = False ) delay = 0.1 if channel : self . protocols [ 0 ] . sendSlack ( message ) reactor . callLater ( delay , self . read_channel )
Get available messages and send through to the protocol
Get available messages and send through to the protocol