Skip to content

lavaclient/discordjs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord.js v13 example bot

This is an example of lavaclient using discord.js v13

Setup

    1. Create an application in the Discord Developer Portal.
    1. Grab the bot token from the "Bot" tab.
    1. Click the Use this template button
    1. Install all dependencies: yarn or npm install
    1. Setup lavalink
      1. Make sure you have java 11 or above installed.
      1. Grab a jar from the Lavalink Releases Page
      1. Create an application.yml in the same folder as the Lavalink.jar
      1. Start lavalink using: java -jar Lavalink.jar
    1. Rename .env.example to .env and replace the value of BOT_TOKEN to the token from step 2
    1. Run the Bot
    • production: yarn start
    • development: yarn dev or yarn dev --force-sync if you're modifying application commands (updating, creating, deleting, etc...)

About

📦️ example discord.js bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published