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
When nowplaying command is used an error is thrown saying no bg.png file , please add that image file
Error:
/home/runner/all-in-one-discord-bot/node_modules/canvas/lib/image.js:91SetSource.call(img,src)^Error: ENOENT,Nosuchfileordirectory'./bg.png'atsetSource(/home/runner/all-in-one-discord-bot/node_modules/canvas/lib/image.js:91:13)atImage.set(/home/runner/all-in-one-discord-bot/node_modules/canvas/lib/image.js:62:9)at/home/runner/all-in-one-discord-bot/node_modules/canvas/index.js:34:15atnewPromise(<anonymous>)
at Object.loadImage (/home/runner/all-in-one-discord-bot/node_modules/canvas/index.js:23:10)
at Object.run (/home/runner/all-in-one-discord-bot/commands/music/nowplaying.js:111:37)
at Client.<anonymous> (/home/runner/all-in-one-discord-bot/events/message.js:23:24)
at Client.emit (node:events:402:35)
at MessageCreateAction.handle (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
at WebSocketShard.onMessage (/home/runner/all-in-one-discord-bot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
at WebSocket.onMessage (/home/runner/all-in-one-discord-bot/node_modules/ws/lib/event-target.js:132:16)
at WebSocket.emit (node:events:390:28)
at Receiver.receiverOnMessage (/home/runner/all-in-one-discord-bot/node_modules/ws/lib/websocket.js:1059:20) {errno: 2,code: 'ENOENT',path: './bg.png',syscall: 'fopen'}
exit status 1
The text was updated successfully, but these errors were encountered:
When
nowplaying
command is used an error is thrown saying no bg.png file , please add that image fileError:
The text was updated successfully, but these errors were encountered: