Skip to content

Commit

Permalink
Merge pull request #540 from infnibor/main
Browse files Browse the repository at this point in the history
Update config.ts and types.ts
  • Loading branch information
LucasB25 authored Apr 20, 2024
2 parents e28cb58 + b37a890 commit d2580e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
main: 0x2f3136,
},
keepAlive: process.env.KEEP_ALIVE ? parseBoolean(process.env.KEEP_ALIVE) : false, // for https://replit.com keep alive bot 24/7
autoNode: process.env.AUTO_NODE ? parseBoolean(process.env.AUTO_NODE) : true, // auto node for lavamusic bot it is gave from lavainfo-api "https://lavainfo-api.freedback-dip.workers.dev"
autoNode: process.env.AUTO_NODE ? parseBoolean(process.env.AUTO_NODE) : true, // auto node for lavamusic bot it is gave from lavainfo-api "https://lavainfo-api.deno.dev"
searchEngine: process.env.SEARCH_ENGINE || SearchEngine.YouTube, // search engine for music
maxPlaylistSize: process.env.MAX_PLAYLIST_SIZE ? parseInt(process.env.MAX_PLAYLIST_SIZE) : 100, // max playlist size
botStatus: process.env.BOT_STATUS || 'online', // online, idle, dnd, invisible
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export enum SearchEngine {
YouTube = 'ytsearch',
Spotify = 'spsearch',
SoundCloud = 'scsearch',
YouTubeMusic = 'ytmsearch',
}

0 comments on commit d2580e0

Please sign in to comment.