Discord Moderation and Meme Bot

JavaScript JSON Discord library

Project Overview

Discord bot I built in 2019 to moderate swear words in sfw channels. I had to update the bot's programming in 2025 due to deprecated discord functions and an outdated command structure.







Design Overview

The bot is programmed entirely in javascript and runs on NodeJS. Deployed using Docker to my personal server. Secrets are kept in a .env file which is included in the .gitignore to prevent leaked secrets. Dictionary of swear words was retrieved from www.cs.cmu.edu/~biglou/resources/bad-words.txt

Use Cases

  • Moderates user messages to detect inappropriate language on sfw channels
  • Includes some fun commands to promote friendly banter without profane or bigoted language
  • Helps to keep track of aggressive users

Technical Implementation

  • The program is written in Javascript and runs on an instance of NodeJS
  • Docker: The bot runs in a container for easy management
  • Discord.js is the library used to interact with the Discord API. registering slash commands and managing events.