dklug / DiscordModBot

Hackable Modular Discord.js bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARCHIVED - DO NOT USE Haven't touched this in a long time and it's super out of date

DiscordModBot

Hackable Modular Discord.js bot

  • Add your own modules! On first startup the bot will ask which modules you'd like to load from the bot_modules folder
    • Five examples of module structure and use are in the bot_modules folder.
  • !help menu: Just type !help and the bot will DM you a list of the modules currently running, with a description of each module.
  • Endless possibilities! Censor all emojis! Play amusing sounds in your voice channel! The choice is yours.

Setup before running:

To run:

  • node DiscordModBot.js or npm start

  • Running for the first time will prompt you for the bot's username, token, and which modules you would like enabled. Run the bot again and you're good to go!

Included Modules:

  • Alert.js:
    • !alert repeatedly sends a TTS (Text To Speech) message
    • !alertquiet repeatedly sends a message
    • !stopalert stops any alert in progress.
  • CensorEmoticons.js
    • Automatically deletes any message with an emoji in it
    • Sends the offending message back to the person who posted it, so they don't lose what they typed.
  • LinkModeration.js
    • Limits the amount of links that can be sent over a certain amount of time by one person
    • Unstable, causes the bot to crash
  • misc.js
    • Features some inside jokes and other doodads for the Discord server I host this bot in
  • RoNTaunts.js

Special Thanks:

https://github.com/cheddar-lang/syncprompt - (used for synchronous first-time setup)

About

Hackable Modular Discord.js bot

License:MIT License


Languages

Language:JavaScript 99.4%Language:Shell 0.4%Language:Procfile 0.2%