Skip to content

Commit

Permalink
Update .env
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu committed Aug 21, 2024
1 parent 210328c commit 077b7e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ BOT_ACTIVITY_TYPE= 0 # Activity type is a number from 0 to 5. See more here: htt
BOT_ACTIVITY=" Lavamusic" # Your bot activity.
DATABASE_URL= "" # Your database url (If you want to use sqlite, then you can leave it blank.).
AUTO_NODE=" false" # true for auto node. It is given from lavainfo-api (https://lavainfo-api.deno.dev).
SEARCH_ENGINE= "YouTubeMusic" # You can use: YouTube, YouTubeMusic, Spotify, SoundCloud, Apple, Yandex or JioSaavn
MAX_PLAYLIST_SIZE= "100" # Max playlist size.
MAX_QUEUE_SIZE= "100" # Max queue size.

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default {
topGG: process.env.TOPGG,
keepAlive: parseBoolean(process.env.KEEP_ALIVE),
autoNode: parseBoolean(process.env.AUTO_NODE),
searchEngine: SearchEngine.YouTube, // YouTube (YouTube Search), YouTubeMusic (YouTube Music Search), Spotify (Spotify Search), SoundCloud (SoundCloud Search), Apple (Apple Search) or Yandex (Yandex Search).
searchEngine: SearchEngine.process.env.SEARCH_ENGINE,
maxPlaylistSize: parseInt(process.env.MAX_PLAYLIST_SIZE || "100"),
botStatus: process.env.BOT_STATUS || "online",
botActivity: process.env.BOT_ACTIVITY || "Lavamusic",
Expand Down

0 comments on commit 077b7e9

Please sign in to comment.