An open API service indexing awesome lists of open source software.

https://github.com/versal-inc/discord-bot-template

simple discord bot typescript base made for learning purposes
https://github.com/versal-inc/discord-bot-template

discord discord-bot discordbot discordjs programming typescript

Last synced: over 1 year ago
JSON representation

simple discord bot typescript base made for learning purposes

Awesome Lists containing this project

README

          

Discord-bot Typescript Template


Template for building Discord-bots using discord.js v14

![](https://img.shields.io/github/issues/versal-Inc/discord-bot-template?style=for-the-badge)
![](https://img.shields.io/github/stars/versal-Inc/discord-bot-template?style=for-the-badge)
![](https://img.shields.io/github/license/versal-Inc/discord-bot-template?style=for-the-badge)

### :wrench: Prerequisites

- `Node.js` 16.9.0+ (https://nodejs.org/en/) & `NPM`
- `Discord.js v14` (https://www.npmjs.com/package/discord.js)
- `applications.commands` scope enabled on the [Discord Developer Portal](https://discord.com/developers/applications) (Required for Slash Commands)

### 🌠 How To Use

- Clone repository
- Go to the [Discord Developer Portal](https://discord.com/developers/applications) open your application > Bot and enable all your Privileged Gateway Intents.
- Go to the [Discord Developer Portal](https://discord.com/developers/applications) open your application > Bot and grab your bot token.
- Go to the [Discord Developer Portal](https://discord.com/developers/applications) open your application > OAuth2 > URL Generator and select `bot & application.commands`.
- Open config.json.
- Paste your token on the `token` property.
- Start the bot.

### 📢 Notes

- Should any zero-day issue arise during the usage of this product, we recommend the user currently experiencing said issue to open an issue in the github repository of this product in order to get further assistance.

## Copyright and Licencing

This project is under the [MIT Licence](./LICENSE)