Skip to content

Velquis/discordbot-template

Repository files navigation

DISCORD BOT TEMPLATE

"Bot open-source feito com Node.js e amor (às vezes ódio) por JavaScript, btw i'm brazilian so the archives on the bot are some comments from me saying in portuguese"

Node Version Discord.js MySQL Status


🎛️ Technologies

Library Description
Discord.js Interaction with Discord API
Voice Music system
Play-dl YouTube streaming (links/names/playlists)
MySQL Server configurations

🎯 Commands (Slash Commands)

🔧 Admin

Command Description
Ban Ban someone with a reason (or not)
Kick Kick someone
Clear Delete messages from the selected chat

🎶 Music (YouTube)

Command Description
Resume Resume the music
Play Search music using links/names/playlists
Pause Pause the music
Queue Show all music in the queue
Skip Skip the current music

📻 General

Command Description
Help Show all available commands

💻 Secrets

Command Description
Reactions Randomly reacts to your messages at any time (customizable emojis and timing)

📳 Install

  1. Requirements:

    Node
    FFmpeg (sudo apt install ffmpeg on Linux)

  2. Setup:

 git clone https://github.com/Velquis/discordbot-template.git
 cd discordbot-template
 npm install
 cp .env.example .env
 Edit the .env file with your bot's credentials
 node .
  1. .env Configuration:
    After copying .env.example to .env, you need to fill in the environment variables:
 DISCORD_TOKEN= (your bot token here)
 CLIENT_ID= (your client ID if needed — recommended to leave empty or use your own)
 SPOTIFY_CLIENT_ID= (leave empty!)
 SPOTIFY_CLIENT_SECRET= (leave empty!)
 SPOTIFY_REDIRECT_URI= (leave empty!)
 YTDLP_EXEC_PATH= (path to your `yt-dlp.exe`for now, this feature requires manual installation of yt-dlp and setting its system path on your machine)

⚠️ Make sure to keep sensitive data like your token private and never share your .env file publicly.

About

Discord Music Bot Template, A sleek and customizable Discord bot built with Node.js and Discord.js v14, featuring a powerful music system that streams directly from YouTube. Designed for developers who want a solid foundation to build their own bot

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors