code: async def on_raw_notice(self, message):
          
          nick, metadata = self._parse_user(message.source)
          target, message = message.params
  
          self._sync_user(nick, metadata)
  
          await self.on_notice(target, nick, message)
          if self.is_channel(target):
              await self.on_channel_notice(target, nick, message)
          else:
              await self.on_private_notice(target, nick, message)
docs: NOTICE command.