Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
Kareem edited this page Dec 21, 2021 · 6 revisions

Welcome to the Mandarine wiki!


Deployment

Before anything, install Node v16 LTS and create a discord bot then add the bot to your server.

  1. Download the Zip Archive
  2. Unzip archive to a directory of your choosing
  3. Create a file called .env in the directory and write token=yourBotToken to the file
    1. Get your bot token from the discord developer dashboard
  4. Open command prompt or terminal in the chosen directory
  5. Run npm install
  6. To start the bot run node . or npm start

Setting up Spotify (not needed for listen along)

  1. Open terminal in the project directory
  2. Type require("play-dl").authorize() and follow the steps

Commands

  • play [youtube link OR soundcloud link OR spotify link OR search query]

    Gets metadata and adds item to the queue.

  • music [search query]

    Searches soundcloud.

  • spotify [mention]

    Will play the song the mentioned user is listening to on spotify and continue to do so until interrupted by another command.

  • queue

    Shows all items in the queue.

  • remove [index of item]

    Remove item from queue.

  • loop

    Loops the song playing.

  • skip

    Skips the song playing.

  • pause

    Pauses the currently playing song

  • unpause / resume

    Unpauses the currently playing song

  • join

    Joins your voice channel.

  • leave / disconnect

    Disconnects from your voice channel.


Clone this wiki locally