h0rv / new-music-discord-bot

Explore music with your Discord server community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

new-music-discord-bot

Explore music with your Discord server community

Bot that checks for new music from added artists daily at both midnight and noon.

Created using Discord API, Discord.js, Firebase database, and Spotify API. Hosted on Heroku for my own Discord server use.


Usage

Commands

  • >add

    • Add artist to your list of artists
  • >remove (rm)

    • Remove artist to your list of artists
  • >list (ls)

    • List all artists in your list of artists
  • >check

    • Check for new music from your list of artists
  • >help

    • List these available commands in server

Installation

  1. Clone or fork the repository.
  2. Run:
npm install
  1. Create app for Discord, Firebase, and Spotify.
    • Activate Firebase database
  2. Retrieve keys, secrets, and tokens from all apps.
  3. Rename sample.env to .env and add corresponding values from above.
  4. Add server channel ID that you want the messages to be sent to .env file.
  5. Create server role named New Music.
  6. Run bot locally on your machine:
npm start
  1. Start adding artists!

Sample Image Sample Image

About

Explore music with your Discord server community

License:MIT License


Languages

Language:JavaScript 98.4%Language:Shell 1.6%