Skip to content

BE-76: Real-time Match Chat Message Moderation Service using OpenAI Moderation API #1143

Description

@chinweobtagaz

Problem Statement

Toxic chat, harassment, and spam degrade the player experience. Automated real-time text moderation ensures a safe community environment.

Proposed Solution

  1. Intercept in-game chat messages before broadcasting.
  2. Evaluate text against lightweight local profanity filter (trie-based) and optional async AI moderation API.
  3. Mask violating words with *** or block message and issue warning to sender.

Acceptance Criteria

  • Sub-5ms local regex/trie filtering for common offensive words and slurs.
  • Repeat offenders automatically muted in match chat for 24 hours.
  • Unit tests for chat sanitizer and muting logic.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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