mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -05:00
among us fix
This commit is contained in:
parent
fd497ded84
commit
74a7c6776f
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ async function play (bot, values, discord, channeldc, selector, config) {
|
|||
const songs = await fileList(SONGS_PATH)
|
||||
const filepath = values.join(' ')
|
||||
|
||||
const file = songs.filter((song) => song.toLowerCase().includes(filepath))[0]
|
||||
const file = songs.filter((song) => song.toLowerCase().includes(filepath.toLowerCase()))[0]
|
||||
|
||||
let absolutePath
|
||||
if (!path.isAbsolute(filepath) &&
|
||||
|
|
Loading…
Reference in a new issue