Koenie06 / Discord.js-Music

19 stars 13 forks source link

Music event "requester" not working #18

Open arionukshini opened 2 years ago

arionukshini commented 2 years ago

When I use the requester thing for like Requested by ${requester.tag} I get this error TypeError: Cannot read properties of undefined (reading 'tag') at EventEmitter.<anonymous> (/home/runner/Harmony-Beta/events/musicEvents.js:26:40) at EventEmitter.emit (node:events:390:28) at Object.exports.play (/home/runner/Harmony-Beta/node_modules/@koenie06/discord.js-music/src/index.js:102:19) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) and when i try to log it it just says undefined

Koenie06 commented 2 years ago

Have you provided a valid Interaction Class into the .play() function?

arionukshini commented 2 years ago

ye i did i added message cus i was doing normal cmds