code: async def reset_webhook(self, check=True) -> bool:
          
          if check:
              wh = await self.bot.get_webhook_info()
              if not wh.url:
                  return False
  
          return await self.bot.delete_webhook()
docs: Reset webhook
  
          :param check: check before deleting
          :return: