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