close
Skip to content

DevSwazy/modbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

930 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Discord Bot for the Aternos Discord server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 100.0%