code: def join(self, target):
          
          password = self.config.passwords.get(
              target.strip(self.server_config['CHANTYPES']))
          if password:
              target += ' ' + password
          self.send_line('JOIN %s' % target)
docs: join a channel