(self, channel, message)
Sends a privmsg message to a channel.
Sends a privmsg message to a channel.
Sends a privmsg message to a channel .
def send_message(self, channel, message):
        """
        Sends a privmsg message to a channel.
        """
        name = channel.channel.lower()

        if name not in self._channels:
            self._channels[name] = Channel(self, name, channel.password)
            self._channels[name].message_min_delay = self.message_min_delay

        # there might be that rare event when the channel password gets
        # changed *and* notifico got kicked from the channel
        self._channels[name]._password = channel.password
        self._channels[name].message(message)
def send_message ( self , channel , message ) : name = channel . channel . lower ( ) if name not in self . _channels : self . _channels [ name ] = Channel ( self , name , channel . password ) self . _channels [ name ] . message_min_delay = self . message_min_delay # there might be that rare event when the channel password gets # changed *and* notifico got kicked from the channel self . _channels [ name ] . _password = channel . password self . _channels [ name ] . message ( message )