Discord bot - A discord.js bot template written with TypeScript.
MIT License
Discord bot - A discord.js bot template written with TypeScript.
This template was created to give developers a starting point for new Discord bots, so that much of the initial setup can be avoided and developers can instead focus on meaningful bot features. Developers can simply copy this repo, follow the setup instructions below, and have a working bot with many boilerplate features already included!
For help using this template, feel free to join our support server!
This bot has a few example commands which can be modified as needed.
A /help
command to get help on different areas of the bot or to contact support:
A /info
command to get information about the bot or links to different resources.
A generic command, /test
, which can be copied to create additional commands.
A /dev
command which can only be run by the bot developer. Shows developer information, but can be extended to perform developer-only actions.
A welcome message is sent to the server and owner when the bot is added.
config
folder of this project..example.json
and remove the .example
from the copied file names.
config.example.json
should be copied and renamed as config.json
.config/config.json
file.client.id
- Your discord bot's user ID.client.token
- Your discord bot's token.npm install
.npm run commands:register
to register the bot's commands.
You can run the bot in multiple modes:
npm start
.npm run start:manager
.npm run start:pm2
.A list of Discord bots using this template.
Bot | Servers |
---|---|
Birthday Bot | |
QOTD Bot | |
Friend Time | |
Bento | |
NFT-Info | |
Skylink-IF | |
Topcoder TC-101 |
Don't see your bot listed? Contact us to have your bot added!