Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

TheOtterlord/dogemod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DogeMod

DogeMod is a simple moderation bot for DogeHouse created by TheOtterlord to help protect your room chats.

DogeMod deletes messages that trigger the profanity filter (uses bad-words npm package) and warns the user who sent the message. You can configure DogeMod to ban a user from the chat after a certain number of infractions.

Set up

  1. Install node and npm
  2. Download this repo and unzip into an empty directory
  3. In the directory, run nmp i to install dependencies
  4. Create a config.json file in the main directory
  5. Add the following to the config.json file, replacing BOT_API_KEY with your bot's key. (find out how to create a bot here)
{
  "apiKey": "BOT_API_KEY"
}
  1. Run npm run start -- <room-id> replacing <room-id> with the room you wish the bot to join
  2. (optional) Add a banAfter field to the config.json file setting it to the number of infractions to ban a user after (e.g. ban a user after 3 infractions: "banAfter": 3)

Support

If you encounter any problems when using DogeMod, please open a GitHub issue.

Contributing

DogeMod is open-source and contributions are welcome. If you plan to add a new feature, please open an issue first.

License

DogeMod is distributed under the MIT license.

Releases

No releases published

Packages

No packages published