- Notifications
You must be signed in to change notification settings - Fork0
CookyDevJS/discordV14-handler-ts
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is a template for a Discord bot v14 handler using TypeScript. It is a starting point for building a bot that supports prefix commands and slash commands. Offering a strongly-typed, object-oriented approach to building the bot. Whether you're new to Discord bot development or looking to switch to TypeScript, this repository is a great starting point.
You can help with join this serverClick Here
- 🔥 Slash commands (supports auto complete!)
- ✉️ Prefix commands (Multi Server)
- 🕛 Cooldowns
- ❌ Enable | Disable Commands
- 🔧 Events and Command handlers
- 🍀 MongoDB Support
1. Clone the repository:
git clone https://github.com/CookyDevJS/discordV14-handler-ts
2. Install the necessary dependencies by running the commandnpm install.
3. Change the file named.env.example to.env
# BOT TOKENTOKEN=# WebHook For join & leave serversjoinLeaveWebhook=# GLOBAL PREFIXPREFIX=-#BOT IDCLIENT_ID=# MONGO URL (EJ: mongodb+srv://useradmin:password@cooky.9666.mongodb.net)MONGO_URI=# NAME OF YOU DATABASE (Can Create)MONGO_DATABASE_NAME=
4. Compile the TypeScript code: Runnpx tsc (or what you use for Build the project using the typescript module) to compile the TypeScript code into JavaScript.
5. start the bot using thenpm start command
About
A Typescript template Handler for a discord bot Customizable.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.