Overview
React Bot is an open-source moderation, media-verification, and community management bot engineered for the Gamer React Discord server. Built with Node.js and Discord.js, the bot automates media submission checks, chat moderation, ticket transcript generation, and external spreadsheet logging.
Tools & Technologies: Node.js, JavaScript, Discord.js, Google Sheets API, Perspective API, HTML Transcripts
Technical Contributions & Systems Breakdown
1. Automated Video Quality Validation
- Submission Inspection Pipeline: Programmed an automated channel listener that inspects user-submitted video links and attachments in designated submission channels, verifying resolution and quality parameters before approving content for community review.
2. Machine-Learning Chat Moderation & Archival
- Perspective API Integration: Integrated Google's Perspective API to evaluate incoming message toxicity scores in real time and flag or filter rule-breaking content automatically.
- HTML Ticket Transcripts: Utilized
discord-html-transcriptsto compile and archive formatted HTML logs of moderation and support channels upon closure.
3. Cloud Spreadsheet Synchronization
- Google Sheets Telemetry: Connected the bot to the
google-spreadsheetAPI to log validated user submissions and moderation records directly into shared staff spreadsheets.
Deployment & Configuration
While tailored specifically for the Gamer React Discord architecture, the source code is publicly available for reference:
- Configure target submission and moderation channel IDs in the configuration file.
- Supply Discord bot credentials, Google service account keys, and Perspective API tokens.
- Start the runtime service via
node index.js.
Core Dependencies
Direct Impact
- Automated Content Curation: Video quality validation removed manual moderator checks on low-resolution submissions, ensuring a consistent standard for community reaction events.
- Proactive Moderation: Combining Perspective API scoring with automated HTML transcript archival reduced moderator response times and preserved clear audit trails.