def topic(self, channel, new_topic=None, tags=None):
        """Requests or sets the topic for the given channel."""
        params = [channel]
        if new_topic:
            params += new_topic
        self.send('TOPIC', params=params, source=self.nick, tags=tags)
Requests or sets the topic for the given channel.