Skip to content

Chat Filter #41

@valkyrienyanko

Description

@valkyrienyanko

Things that need to be done

  • Move BlockedStrings to its own txt, read this txt on server load and load it into a variable in the server
  • Add more curse words to the BlockedStrings
  • Add option to PrEvEnT mEsSaGeS lIkE tHIS
  • Add option to PREVENT MESSAGES IN ALL CAPS
  • Add option to disable blocking curse words
  • All curse words should be replaced with different variations of meow (e.g. meowww, meoww, meowwww, purrr)

// Remove any trailing spaces at start and end
message = message.Trim();
// Swear filter
foreach (var blockedString in BlockedStrings)
message = message.Replace(blockedString, "meowww");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions