Code Monkey home page Code Monkey logo

modbot's Introduction

Aternos/modbot

Discord GitHub GitHub contributors GitHub last commit


Modbot is a moderation bot that is mainly used in the Aternos Discord.

It was made using the discord.js Library and node.js.

Features

  • Moderation commands (ban, kick, mute, softban, strike)
  • Import strikes, tempmutes and tempbans from Vortex
  • Auto moderation (Discord invites, linkcooldown)
  • Find articles from your Zendesk helpcenter and videos from a Youtube playlist
  • Lock (all or specific) channels
  • Log message edits and deletions
  • Autoresponses
  • Bad word filters

Invite The Bot

Click this link to invite the bot to your own server

If you need help with the commands use !help to list them and !help <command> to get more info.

Getting Started

  • You can view the settings with !settings
  • If you have a Zendesk help center, use !helpcenter <url> to enable the !article command
  • To set up a log channel use !logchannel <#channel>
  • If you want to configure a Youtube playlist, you can use !playlist <url>
  • To add moderator roles use !modrole add <@role>
  • If you used Vortex before you can import strikes, mutes and bans using !import

Self Hosting

Requirements: Node.js, a MySQL database

  1. Download the code and run npm install
  2. Create a Discord application. You also have to enable the SERVER MEMBERS intent. The bot needs this to reassign the muted role when a muted user joins your server
  3. Add a bot to the application and copy the auth token
  4. Create an API key in the Google Cloud Console for the Youtube Data API v3
  5. Copy the example.config.json to config.json, and configure it
  6. Start the index.js file
  7. To invite the bot to your server replace ID with the client ID of your application https://discordapp.com/oauth2/authorize?client_id=ID&scope=bot&permissions=268446806 and open the link

Contributing

If you want to contribute you need to fork the repository, then add your changes to your fork and then create a pull request. We recommend looking at the Documentation of discord.js.

If you need help with the Bot create an Issue.

modbot's People

Contributors

dependabot[bot] avatar julianvennen avatar kurtthiemann avatar matthi4s avatar miataboy avatar toothydev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.