SudoBot

Build GitHub GitHub package.json version GitHub commit activity Discord

A Discord bot for moderation purposes.

### Features - Strong automoderation system with tools like anti-spam and anti-raid - Useful moderation tools - Secure - Fun commands ### Getting started You can request an invite for SudoBot [here](https://sudobot.everything-server.ml/). Alternatively, you can create your own Discord API application and then host SudoBot. ### Setup for Custom Hosting First, download the latest release or clone the repo by running: ``` git clone https://github.com/onesoft-sudo/sudobot ``` Then go inside the project directory, and run the following command: ``` npm install -D ``` Then open up the `config/config.json` file and change at least the following: ```json { "global": { "id": "set your home guild id", "owners": ["set owner user ids here"], ... }, "guild id here": { "prefix": "-", "mod_role": "the mod role, users having it will be able to use the bot", "gen_role": "general role id, which all users have", "mute_role": "the muted role id", "admin": "the admin role id. users having it will be immune to sudobot.", ... } } ``` **Note**: `...` means other options that exist in the config, you can edit them to customize the settings, but not required. Build the project: ``` npm run build ``` Deploy slash commands globally: ``` node deploy-commands.js ``` Start the bot: ``` npm start ``` And if everything was configured correctly, you should not see an error and the bot should say `Logged in as [tag]!`. Then you can run the following command in Discord to make sure everything is working: ``` -about ``` That should show the bot information. Congratulations! You've successfully set up your own instance of SudoBot! ### Support - **Email**: rakinar2@onesoftnet.eu.org - **Discord Servers**: [The Everything Server](https://discord.gg/Km7ZcfXT6P), [Support Server](https://discord.gg/892GWhTzgs)