Allow the bot to check if a string of text is in spoiler tags or not.


2 opmerkingen

  • donovan_dmc

    Regex matching for content inside double pipes should handle that fine

    something like

    This assumes whatever regex processor you're using supports lazy matching and the dotall flag
  • bailey782

    To enable bots to check if a string of text is in spoiler tags, you can implement a bot feature that scans messages in a non-spoiler channel. The bot would search for specific spoiler tags or formatting patterns and identify if the text within those tags is a spoiler. This would help game servers or other communities maintain better control over spoilers and ensure they are appropriately marked and handled. By utilizing this bot functionality, users can enjoy a non-spoiler channel while still having a bot monitor and manage spoiler content.


U moet u aanmelden om een opmerking te plaatsen.