mirror of
https://github.com/Yochyo/sherry-bot
synced 2026-08-19 19:30:39 +02:00
No description
- TypeScript 92.5%
- JavaScript 7.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| src | ||
| .gitignore | ||
| build.js | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
Discord.js v14 Bot Template
Features
- 🟦 Typescript
- 🔥 Slash commands (supports auto complete!)
- ✉️ Message commands
- 🕛 Cooldowns
- 🏴 Detailed Permissions
- 💪 Event & Command handlers
- 🍃 MongoDB Support
Installation, Build and Run
- Clone the repository then create a file named
.envand fill it out accordingly
TOKEN=YOURTOKENHERE
CLIENT_ID=BOTS CLIENT ID
PREFIX=!
MONGO_URI=YOUR MONGO CONNECTION STRING
MONGO_DATABASE_NAME=YOUR DATABASE NAME
- Install typescript, To install TypeScript, you can run the following command in your terminal, This will install the latest version of TypeScript globally on your computer. (You can skip this if you already have typescript installed)
npm install -g typescript
- Build the project by running the following command:
This command will also install the node modules if you haven't installed them.
npm run build
- Once the build is complete it will generated a folder named
buildthat contains compiled version of your ts code to js. You can run the following command in your terminal to run the project:
npm start