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

https://github.com/codiume/discord-bot-template

A simple template to start coding your own and personalized discord bot in Javascript
https://github.com/codiume/discord-bot-template

bot discord discord-js hacktoberfest

Last synced: 5 months ago
JSON representation

A simple template to start coding your own and personalized discord bot in Javascript

Awesome Lists containing this project

README

          

# Discord Bot Template

[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
[![Discord.js](https://img.shields.io/badge/discord.js-v14-blue)](https://discord.js.org)

A simple template to get you started with coding your own personalized Discord bot using **JavaScript**.

## Features

- Easy to get started with a pre-configured template.
- Uses **discord.js** library to interact with the Discord API.
- Follows the **JavaScript Standard Style** for code consistency.
- Lightweight and extensible for your custom features.

## Requirements

Before running the bot, make sure you have:

- [Node.js](https://nodejs.org/) (v17.0.0 or higher)
- A Discord bot token (Create one via [Discord Developer Portal](https://discord.com/developers/applications))

## Setup Instructions

#### 1. Clone the repository

```bash
git clone git@github.com:codiume/discord-bot-template.git fancy-bot
```

#### 2. Navigate to the project directory
```
cd fancy-bot
```
#### 3. Install the required dependencies
```
npm install
```
#### 4. Configure your bot token
Create a `.env` file in the root of your project and add your Discord bot token:
```
DISCORD_BOT_TOKEN=your-bot-token-here
```
#### 5. Run the bot locally
```
npm run dev
```
Your bot should now be running and connected to your Discord server!
Additional Features

- Add more commands by modifying the `commands` folder.
- Customize bot events by editing the `events` folder.

### Contributing
Feel free to fork and contribute to this project. Submit pull requests with improvements, bug fixes, or new features!

### Contributors
Thanks to the following people who have contributed to this project:

- [mhdcodes](https://github.com/mhdcodes) - Maintainer
- [NekoSakuraLucia](https://github.com/NekoSakuraLucia) - Contributor

###### Created with ❤️ by Codiume