Skip to content

tfbio/sample-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Discord Music Bot

Author Category Status


πŸ“‹ Table of Contents

πŸ” Overview

Bot for searching and broadcasting songs in Discord channels with optional database for storing custom playlists. Developed in Nodejs with pure Javascript exploring the Discord API with the module discord.js, and integration a Postgres database with Prisma ORM.

πŸ”§ Setup

Commands "npm i" or "yarn" will install node_modules required to run the program.

❗ Important

The environment variables need to filled as an additional step in the setup:

  • Discord API for your own bot token
  • Spotify API for also playing playlists from spotify
  • (Optional) URL of your local Postgres database

🏭 How to Run

On command terminal run "npm start" or "yarn start". In discord, writting "!connect" will start the bot in your channel and all commands to use it are listed by writting "!help".

πŸ“§ Sidenote

A few functionalities still need refining, as in dealing with large playlists can cause side effects as lagging or in some cases the bot will not be able to process massive playlist.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published