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
{{ message }}
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
Hey i tryed to setting up the bot, but when í try to use the help command, this error appear
`/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:450
.flat(2)
^
TypeError: fields.flat is not a function
at Function.normalizeFields (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:450:8)
at MessageEmbed.addFields (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:266:42)
at MessageEmbed.addField (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:257:17)
at Object.exports.run (/root/PteroControl-main/commands/help.js:8:6)
at module.exports (/root/PteroControl-main/events/message.js:12:7)
at Client.emit (events.js:198:13)
at MessageCreateAction.handle (/root/PteroControl-main/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
`
Hey i tryed to setting up the bot, but when í try to use the help command, this error appear
`/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:450
.flat(2)
^
TypeError: fields.flat is not a function
at Function.normalizeFields (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:450:8)
at MessageEmbed.addFields (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:266:42)
at MessageEmbed.addField (/root/PteroControl-main/node_modules/discord.js/src/structures/MessageEmbed.js:257:17)
at Object.exports.run (/root/PteroControl-main/commands/help.js:8:6)
at module.exports (/root/PteroControl-main/events/message.js:12:7)
at Client.emit (events.js:198:13)
at MessageCreateAction.handle (/root/PteroControl-main/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
at WebSocketShard.onPacket (/root/PteroControl-main/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
`