Multipurpose-discord-bot icon indicating copy to clipboard operation
Multipurpose-discord-bot copied to clipboard

Bug report

Open ghost opened this issue 3 years ago • 5 comments

=== UNHANDLED REJECTION === Reason: TypeError: this.options.embeds?.map is not a function at MessagePayload.resolveData (/home/container/node_modules/discord.js/src/structures/MessagePayload.js:195:36) at MessageManager.edit (/home/container/node_modules/discord.js/src/managers/MessageManager.js:130:8) at Message.edit (/home/container/node_modules/discord.js/src/structures/Message.js:702:34) at InteractionCollector. (/home/container/commands/🚫 Administration/sync-invites.js:121:22) at InteractionCollector.emit (node:events:532:35) at InteractionCollector.stop (/home/container/node_modules/discord.js/src/structures/interfaces/Collector.js:198:10) at Timeout. (/home/container/node_modules/discord.js/src/structures/interfaces/Collector.js:88:61) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) === UNHANDLED REJECTION ===

when using sync-invites

ghost avatar Feb 06 '22 04:02 ghost

can you explain how you can reproduce this error? solely for testing reasons

mooogah avatar Feb 06 '22 08:02 mooogah

can you explain how you can reproduce this error? solely for testing reasons

Just run the sync-invites command. It gives the error there. Same happened to me.

SukiPlayz avatar Feb 06 '22 14:02 SukiPlayz

ill try it later

mooogah avatar Feb 06 '22 20:02 mooogah

Okay I'll try fixing this

malbouy avatar Feb 22 '22 05:02 malbouy

Done I got a solution, will deploy an update after reviewing other bugs as well :)

malbouy avatar Feb 22 '22 06:02 malbouy