A Discord bot for you and your squad
- Create a bot on the Discord developer portal,
- Create a webhook on your own discord server by following this tutorial,
- Copy the
src/config.example.json
from the project tosrc/config.json
and fill in the gaps with the information from the bot and the webhook. The first token is on the bot page accessed from the side of the Discord Developer Portal, and the webook information is found on the page when you navigate to the webhook url, - Invite your dev bot to your server by following this url, replacing the client id with your bot's client id (found on it's general information page), and the permissions with the Permission Integer created in the Developer Portal as you select permissions for your bot,
- Once these steps are setup, simply run
yarn install
andyarn run dev
from the terminal in the root directory of the repo, - Test the bot is connected by running
<your-prefix>ping
. It should then respond with "Pong" to show you that it is online and connected.
This project is open source and available under the MIT