def join_channel(self, channel, key=None, tags=None):
        """Join the given channel."""
        params = [channel]
        if key:
            params.append(key)
        self.send('JOIN', params=params, tags=tags)