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
- Host: GitHub
- URL: https://github.com/codiume/discord-bot-template
- Owner: codiume
- License: mit
- Created: 2022-03-25T15:42:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T00:43:22.000Z (about 2 years ago)
- Last Synced: 2024-04-10T02:59:53.654Z (about 2 years ago)
- Topics: bot, discord, discord-js, hacktoberfest
- Language: JavaScript
- Homepage:
- Size: 626 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Discord Bot Template
[](http://standardjs.com)
[](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