CalypsoBot
CalypsoBot copied to clipboard
Bot doesn't respond after I send a command.
Hey, As I said in the Title, the Bot doesn't responds. After a little bit of time I get this Error:
TypeError: fields.flat is not a function at Function.normalizeFields (/home/pi/CalypsoBot/node_modules/discord.js/src/structures/MessageEmbed.js:450:8) at MessageEmbed.addFields (/home/pi/CalypsoBot/node_modules/discord.js/src/structures/MessageEmbed.js:266:42) at MessageEmbed.addField (/home/pi/CalypsoBot/node_modules/discord.js/src/structures/MessageEmbed.js:257:17) at HelpCommand.run (/home/pi/CalypsoBot/src/commands/info/help.js:106:17) at module.exports (/home/pi/CalypsoBot/src/events/message.js:52:24) at Client.emit (events.js:198:13) at MessageCreateAction.handle (/home/pi/CalypsoBot/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14) at Object.module.exports [as MESSAGE_CREATE] (/home/pi/CalypsoBot/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32) at WebSocketManager.handlePacket (/home/pi/CalypsoBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31) at WebSocketShard.onPacket (/home/pi/CalypsoBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
Any Ideas, why its not working? have a great day, Marcel
Make sure your node is v12+
OMG THANK YOU!!! Its working now!