https://github.com/vulwsztyn/discord-js-music-bot
https://github.com/vulwsztyn/discord-js-music-bot
discord discord-bot discord-bot-template discord-bot-template-ts discord-bots discord-command-handler discord-js discord-js-bot discord-js-template discord-js-v14 discord-js-v14-command-handler discordjs discordjs-typescript discordjs-v14 hacktoberfest music typescript
Last synced: 18 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vulwsztyn/discord-js-music-bot
- Owner: Vulwsztyn
- Created: 2022-09-18T18:04:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-29T21:22:55.000Z (about 2 years ago)
- Last Synced: 2025-04-05T00:41:19.700Z (18 days ago)
- Topics: discord, discord-bot, discord-bot-template, discord-bot-template-ts, discord-bots, discord-command-handler, discord-js, discord-js-bot, discord-js-template, discord-js-v14, discord-js-v14-command-handler, discordjs, discordjs-typescript, discordjs-v14, hacktoberfest, music, typescript
- Language: TypeScript
- Homepage:
- Size: 155 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# discord.js v14 example bot
This is an example of lavaclient using discord.js v14
## Setup
- 1. Create an application in the [Discord Developer Portal](https://discord.com/developers/applications).
- 2. Grab the bot token from the "Bot" tab.
- 3. Click the `Use this template` button
- 4. Install all dependencies: `yarn` or `npm install`
- 5. Setup lavalink
- 1. Make sure you have java 11 or above installed.
- 2. Grab a jar from the [Lavalink Releases Page](https://github.com/freyacodes/lavalink/releases)
- 3. Create an [application.yml](https://github.com/freyacodes/lavalink/blob/master/LavalinkServer/application.yml.example) in the same folder as the Lavalink.jar
- 4. Start lavalink using: `java -jar Lavalink.jar`
- 6. Rename `.env.example` to `.env` and replace the value of `BOT_TOKEN` to the token from step 2
- 7. Run the Bot
- production: `yarn start`
- development: `yarn dev` or `yarn dev --force-sync` if you're modifying **application commands** (updating, creating, deleting, etc...)