i am using discord.js@v14 & discord-player & i was trying to implement a /play command that provides autocomplete suggestions but when input songs to the query option the console throws the following error, why so & is there any fixes?
Error: Query is required!
at QueryResolver.resolve (D:\Codespace\github-contributions\synthia\node_modules\discord-player\dist\index.js:682:13)
at MusicPlayer.search (D:\Codespace\github-contributions\synthia\node_modules\discord-player\dist\index.js:3153:79)
at PlayCommand.autocomplete (file:///D:/Codespace/github-contributions/synthia/src/interactions/music/play.js:80:50)
at InteractionCreateEvent.executeEvent (file:///D:/Codespace/github-contributions/synthia/src/events/message/interactionCreate.js:199:31)
at Client.<anonymous> (file:///D:/Codespace/github-contributions/synthia/src/helpers/modules/EventHandler.js:33:31)
at Client.emit (node:events:513:28)
at InteractionCreateAction.handle (D:\Codespace\github-contributions\synthia\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (D:\Codespace\github-contributions\synthia\node_modules\discord.js\src\client\webs at module.exports [as INTERACTION_CREATE] (D:\Codespace\github-contributions\synthia\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (D:\Codespace\github-contributions\synthia\node_modules\discord.js\src\client\websocket\WebSocketManager.js:354:31)
at WebSocketManager.<anonymous> (D:\Codespace\github-contributions\synthia\node_modules\discord.js\src\client\websocket\WebSocketManager.js:238:12)
Note: i havent yet sent the command in the channel i am just searching music using autocomplete options...