- uhhh
- Logging of moderation action based on the setting
- Configure every setting
- Button collectors (handling of button presses)
- Parsing moderation commands reason/duration
- Every moderation command (ban, kick, modlogs, etc)
- Node.js
- Developer mode enabled on Discord (Settings --> Advanced --> Toggle on Developer Mode)
- Verify you have Node.js installed. You can test this by doing
node -v
in your terminal. - Create an app in Discord's Developer Portal. Save the
APPLICATION ID
, you will need it for later. - Go to the side, and click on
Bot
. Configure the username, profile picture, and banner to your liking. Make sure you grab the token. You may have to reset it to see it. - Go back to the side, and click on
OAuth2
. Scroll down, and click thebot
checkbox. Configure the permissions you want the bot to have, and clickCopy
next to the link box. Put the link in your browser to invite the bot to a server of yours. - Once the bot is invited to a server of yours, click on the server icon and click
Copy Server ID
, and save it. You will need it for later. - Download the bot's source. Navigate it to it in your terminal. Make sure you have
dotenv
installed from Prerequisities. Runnpm i
to grab the packages. - If your on Linux, run
cp .env.example src/.env
andnano .env
. If you are on Windows, go to the folder physically in File Explorer and Copy and Paste the.env.example
file. Rename that copy to.env
. Input theAPPLICATION ID
,Server ID
, andTOKEN
you have saved earlier. (GUILD_ID is Server ID) - If your on Linux, run
cp src/settings.json.example src/settings.json
and configure your settigns. If you are on Windows, go to the folder physically in File Explorer and copy the file namedsettings.json.example
and name itsettings.json
and configure your files in a text editor. - Run
npm start
in your terminal. Voila! Your bot is now ready.
Contributing is very welcome, as currently, I am the only contributor/maintainer of this project. Just shoot me a PR or message me on Telegram if you want to discuss any core changes.