Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
Kareem edited this page Nov 7, 2023 · 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.

In the discord developer dashboard, toggle on:

  • PRESENCE INTENT
  • SERVER MEMBERS INTENT
  • MESSAGE CONTENT INTENT

then

  1. Download the Zip Archive
  2. Unzip archive to a directory of your choosing
  3. Make a copy of config.json.example called config.json in the same directory. Fill in the config.
    • If you are not using voice commands, you do not need to fill in the filenames or the keys for it. Just set it to false.
  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. Run the node REPL node
  3. 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 and clears the queue.


Clone this wiki locally