Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imjunpeii/djs-cmd-handler
A discord js project
https://github.com/imjunpeii/djs-cmd-handler
discord discord-bot discordbot discordjs discordtemplate node nodejs
Last synced: 8 days ago
JSON representation
A discord js project
- Host: GitHub
- URL: https://github.com/imjunpeii/djs-cmd-handler
- Owner: ImJunpeii
- Created: 2023-02-24T01:32:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-02-24T03:01:25.000Z (over 1 year ago)
- Last Synced: 2023-09-21T09:14:00.962Z (about 1 year ago)
- Topics: discord, discord-bot, discordbot, discordjs, discordtemplate, node, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Discord JS Project With Command Handler & Cooldown Feature**
*This is a discord bot project with command handler and cooldown feature.
You can use this project for your own discord bot. I also added an example command of `Ping` and `Help` command.*
# **! Before You Fork !**
*You need to either add a `.env` file or add a `config.json` file in the root directory of the project and insert both prefix of your choice and your bot's token. **I hid the file because of course it's never safe to release your bot's token to the public. You would recieve consequences.******How would the .env File look like?***
```
TOKEN=TOKEN_HERE
PREFIX=PREFIX_HERE
```
*I'm not 100% sure if it has to **EXACTLY** look like this, but it works.*## **ALSO!**
Make sure to install the `discord.js` package before you start the bot. You can do this by typing `npm i discord.js` in your terminal.
Here i'll list all important packages you need to install:
```
npm i discord.js node fs dotenv
```**Make sure to credit me ^-^**