Bonjour à tous,

J'essaye de faire un bot discord musical,

en voici son code source : https://github.com/Paullux/undead-murderer-discord-bot

Voici l'erreur que je rencontre :

(node:7285) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined
at Play.run (/home/paulw/undead-murderer-discord-bot/MusicCommands/Play.js:20:46)
at Client.<anonymous> (/home/paulw/undead-murderer-discord-bot/index.js:65:10)
at Client.emit (events.js:305:20)
at MessageCreateHandler.handle (/home/paulw/undead-murderer-discord-bot/node_modules/discord.js/src/client/websocket/packets/handlers/MessageCreate.js:9:34)
at WebSocketPacketManager.handle (/home/paulw/undead-murderer-discord-bot/node_modules/discord.js/src/client/websocket/packets/WebSocketPacketManager.js:105:65)
at WebSocketConnection.onPacket (/home/paulw/undead-murderer-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:333:35)
at WebSocketConnection.onMessage (/home/paulw/undead-murderer-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:296:17)
at WebSocket.onMessage (/home/paulw/undead-murderer-discord-bot/node_modules/ws/lib/event-target.js:120:16)
at WebSocket.emit (events.js:305:20)
at Receiver.receiverOnMessage (/home/paulw/undead-murderer-discord-bot/node_modules/ws/lib/websocket.js:789:20)
(node:7285) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promis
e which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_
unhandled_rejections_mode). (rejection id: 1)
(node:7285) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zer
o exit code.
Je suis bloqué là, j'aimerais bien d'un peu d'aide.