You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Play command error out if incorrect song is selected
To Reproduce
Steps to reproduce the behavior:
use play command
out of 5 options to select a song enter some random string
Expected behavior
Message to be displayed showing incorrect input
Error Log
RangeError: Provided argument must be present.
at Function.validate (/root/discord-js-bot/node_modules/erela.js/dist/structures/Utils.js:46:19)
at Queue.add (/root/discord-js-bot/node_modules/erela.js/dist/structures/Queue.js:38:33)
at Play.messageRun (/root/discord-js-bot/src/commands/music/play.js:142:22)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Play.execute (/root/discord-js-bot/src/structures/Command.js:170:5)
at async module.exports (/root/discord-js-bot/src/events/message/messageCreate.js:29:9)
If possible
Bot version: 3.3.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Play command error out if incorrect song is selected
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Message to be displayed showing incorrect input
Error Log
If possible
The text was updated successfully, but these errors were encountered: