https://github.com/stemount/discordjs-v13-handler-template
A slash command and event handler for the new discord.js V13 update. Includes some commands to get you started
https://github.com/stemount/discordjs-v13-handler-template
Last synced: 4 months ago
JSON representation
A slash command and event handler for the new discord.js V13 update. Includes some commands to get you started
- Host: GitHub
- URL: https://github.com/stemount/discordjs-v13-handler-template
- Owner: stemount
- License: gpl-3.0
- Created: 2021-09-29T23:11:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-07T15:46:27.000Z (almost 5 years ago)
- Last Synced: 2025-10-09T21:05:38.955Z (9 months ago)
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Discord.JS v13 Handler Template
A slash command and event handler for the new discord.js V13 update. Includes some commands to get you started
## Installation
> Clone the repository, or you can create your own using the template function (on GitHub)
>
> Install the dependencies with `npm i`
>
> Remove the `.template` suffix from the *config.js* and *.env* files
>
> Paste your bot token in the *.env* file
>
> Add necessary info to the *config.js* file (find out more below)
>
> Open a terminal in the root directory of the repo
>
> Execute `npm run production`
>
## Configuration
* `config.general.botName` - What the bot should be referenced to in commands
* `config.general.guildid` - The guild id that the bot will be used in
* `config.general.clientid` - The client id for the bot
* `config.settings.owners` - An array for the owner's user ids (required to run OWNER commands)
* `config.support.guildid` - The guild id for your support server (if needed), THE BOT MUST BE IN THIS SERVER AND HAVE ADMINISTRATOR
* `config.support.owner` - The main owner's id (for telling the user who to contact)
* `config.embeds.embedColour` - The default colour for an embed if none is specified
* `config.embeds.embedFooterText` - The default footer text for an embed
## Credits
This project is licensed by the **GNU General Public License**. You must give credit to [me](https://github.com/lornebookerr) when using this code.