Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/3raphat/simple-discord-bot-template

A template starter for a simple Discord bot using discord.js v14
https://github.com/3raphat/simple-discord-bot-template

bot discord discord-bot discord-js discordbot discordjs djs djs-v14 node nodejs starter starter-template template

Last synced: about 2 months ago
JSON representation

A template starter for a simple Discord bot using discord.js v14

Awesome Lists containing this project

README

        

# A simple Discord bot

A simple Discord bot using [discord.js v14](https://discord.js.org)

## Installation

**[Node.js](https://nodejs.org) 16.9.0 or newer is required.**

Clone the repo on your system:

```sh
git clone https://github.com/3raphat/simple-discord-bot-template.git
```

Then, navigate to the directory and install the npm packages:

```sh
npm install
```

## Configuration

Navigate to `setting/config.js` or create file name `.env` and fill out the values:

```text
TOKEN=YOUR_BOT_TOKEN
EMBED_COLOR=COLOR
OWNER_ID=OWNER_ID
```

## Start

After you fill out the values, start your bot with `node index.js` or `npm run start`:

```sh
node index.js
```

Done! 🎉, your bot is online.

## Help

If you have an issue, please don't hesitate to join [support server](https://discord.gg/tPAEqM3jAx).

## Other

My Discord music bot. It's called Sana.

[![Discord Bots](https://top.gg/api/widget/995348230449672212.svg)](https://top.gg/bot/995348230449672212)

You can [invite Sana](https://discord.com/oauth2/authorize?client_id=995348230449672212&permissions=11534344&scope=bot%20applications.commands) to enjoy your music. 🎉