This is Stalker Bot.
clone from Discord.js v14 Bot Template
git clone https://github.com/khouwdevin/stalker-discord.gitput the environment variables inside working directory and name the file to .env
TOKEN=(Discord bot token)
CLIENT_ID=(Discord client id)
PREFIX_COMMAND=$ # default prefix is $
MONGO_DATABASE_NAME=stalker
MONGO_USERNAME=(Mongo username for connecting)
MONGO_PASSWORD=(Mongo password for connecting)
MONGO_PORT=27017
LAVALINK_PASSWORD=(Lavalink password)
LAVALINK_PORT=(Lavalink port) # default 2333
LAVALINK_HOST=(Lavalink host or domain that used by Lavalink server) # default lavalink
LAVALINK_IDENTIFIER=(Fill it same as lavalink host) # default lavalink-local
LAVALINK_SSL=(Fill with true if using ssl and false if not)
SPOTIFY_CLIENTID=(Spotify client id) # if you don't want to use spotify remove this line
SPOTIFY_CLIENT_SECRET=(Spotify client secret) # if you don't want to use remove this line
TURN_ON_MUSIC=(true or false)
YOUTUBE_REFRESH_TOKEN=(Youtube refresh token) # get the token from lavalink, further explaination belowyou can get Spotify client id and client secret from https://developer.spotify.com please fill the default and if you wish to change the variable please check for docker-compose.yml
-
download plugins, by default Stalker Bot use 2 plugins lavasrc and youtube, place the (plugin).jar into ./plugins
-
change the application.yml if you add more plugins
Stalker bot is designed to run with docker, but if you wish to run it with external lavalink or external mongodb, please update the docker compose to suit your needs.
# if you use Linux add sudo if not just use this command
# run the command on root of this project
docker compose up -dEnter the logs of lavalink, it will appear for you to initialize OAuth for Youtube as like the plugin says, do not use main account, use your burner account.
After you logged in, find the refresh token and paste into your .env, then restart the docker.
Everything should be okay and you can start use the bot, if you find any trouble please open an issue, I will happy to help.
If you find any bugs and you want to contribute, please open PR or an issue first, but if you wish to add new features, please fork this repo do not create PR or issues.

