code: async def set_mode(self, target, *modes):
          
          if self.is_channel(target) and not self.in_channel(target):
              raise NotInChannel(target)
  
          await self.rawmsg('MODE', target, *modes)
docs: Set mode on target.
          Users should only rely on the mode actually being changed when receiving an on_{channel,user}_mode_change callback.