wyjebanie gówna z nazwy tracku
This commit is contained in:
@@ -4,6 +4,7 @@ services:
|
||||
app:
|
||||
build: .
|
||||
container_name: disco-bot
|
||||
restart: always
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
env_file:
|
||||
|
||||
@@ -11,7 +11,7 @@ export function getCurrentSongMsg(): string {
|
||||
}
|
||||
export function getQueueMsg(): string {
|
||||
const queue = getQueue()
|
||||
return `Current: ${queue.current}
|
||||
return `Current: ${queue.current?.replace("/app/data/", "").replace(/\[.*\].opus/,"").trim()}
|
||||
Queue:
|
||||
${queue.songList.join('\n ')}`
|
||||
${queue.songList.join('\n ').replace(/\/app\/data\//g, "").replace(/\[.*\].opus/g,"").trim()}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user