Exemplo n.º 1
0
    def say(self, client, message):
        """
        Sends message as a PRIVMSG to everyone in the channel except the person who sent it.

        :type client: Client
        :type message: str
        :rtype: None
        """
        message = Protocol.privmsg(client, self, message)
        for cl in self._clients:
            if cl is not client:
                cl.send(message)