A Discord bot for moderation.
.env
file with the following variables
⚠️ NOTE: If you’re running this on Replit, you have to use Secrets and environment variables instead of a
.env
file.TOKEN= GUILD_ID= CLIENT_ID= MOD_CHANNEL=
Where the
GUILD_ID
is the ID of the server you want the bot in,CLIENT_ID
is the ID of your Discord Bot,MOD_CHANNEL
is the ID of the channel you want the reports to be sent to.
Then run npm run start
(or node . -r
, or press then run button on Replit) to run the bot. You should see it online on the server
Apps
section in the context menu, you should see a new app called “Report”, click that to report the message to the following channel (as specified in the env variables)You should now see a message in the moderation channel.
Tip: Make sure the moderation channel is only visible to select members of your server that are “moderating” it.