code: def part(self, channel):
          
          
          if channel in self.channels:
              channel.users.remove(self.nick)
              self.channels.remove(channel)
docs: Remove this user from the channel's user list and remove the channel
          from this user's list of joined channels.