Skip to content

Installation on Repl it

Darren edited this page Sep 26, 2021 · 5 revisions

Prerequisites

Create a Discord Application

  • go to the Discord Developer portal
  • create a new application + bot
  • create a bot invitelink using it's client id here
  • save the bot token for later

Grab a Spotify Client ID & Secret

  • login here and create an application

Install nodejs + npm

follow those instructions

Installation

Click Run on Repl.it

Then let it load the project, It may take 1 - 5 min.

Then you'll need to edit the botconfig.js and fill in the Lavalink, Token, Discord_ClientID, Discord_ClientSecret, Spotify_ClientID, Spotify_ClientSecret.

If you want to host lavalink on replit you can check out this repo

dashboard setup

  • Add your replit url into your botconfig.js

Example

Make sure that you use all lowercase, there must be no capital letter.

  • Go to the Discord Developer Portal under the OAuth2 tab.

BangOauth

Make sure that you use all lowercase, there must be no capital letter. also make sure to add https:// and http://

Final

Once done you can restart your bot, then invite it using this url template. https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot%20applications.commands&permissions=2205280576

  • CLIENT_ID needs to be replaced with your bot Id
  • Permission calculator: learn more
  • You can use #generateInvite instead: learn more
Clone this wiki locally