From 26338e489bba06f761962d3a5fc431958cdccaff Mon Sep 17 00:00:00 2001 From: Nibor <156368035+infnibor@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:58:04 +0200 Subject: [PATCH 1/2] Update config.ts Update link for comment AUTO_NODE Signed-off-by: Nibor <156368035+infnibor@users.noreply.github.com> --- src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.ts b/src/config.ts index baf897894..d2b28ed47 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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 From b37a890e66c0d10291d513684c626a9ce5dcc946 Mon Sep 17 00:00:00 2001 From: Nibor <156368035+infnibor@users.noreply.github.com> Date: Sat, 20 Apr 2024 15:59:34 +0200 Subject: [PATCH 2/2] Update types.ts Added Search Engine "Spotify" Signed-off-by: Nibor <156368035+infnibor@users.noreply.github.com> --- src/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types.ts b/src/types.ts index d4e2fea58..a54f830c0 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1,5 +1,6 @@ export enum SearchEngine { YouTube = 'ytsearch', + Spotify = 'spsearch', SoundCloud = 'scsearch', YouTubeMusic = 'ytmsearch', }