Go to this link and add the bot to your server.
We are hosting Age Sentry bot on our own servers. Bot will be online 24/7 If you want to host the bot on your own server, you can follow the steps below.
- Clone the repository
git clone https://github.com/chimpdev/age-sentry.git
- Go to the project directory
cd age-sentry
- Install dependencies (you can use
npm
orpnpm
)
pnpm i
-
Create a new application on Discord Developer Portal and copy the bot token. Also don't forget to enable
MESSAGE CONTENT INTENT
in the bot settings. -
Edit
.env
file (see below) -
Start the bot (you can use
npm
orpnpm
)
pnpm start
This bot uses .env
file to store sensitive data. You can create .env
file in the root directory of the project and add the following variables to it.
Variable | Description | Required |
---|---|---|
DISCORD_TOKEN |
Discord bot token | ✅ |