Closed NotTimIsReal closed 3 years ago
Embeds are sent as an array: embeds: [embed1, embed2, ..., embed10]
The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.
Embeds are sent as an array:
embeds: [embed1, embed2, ..., embed10]
The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.
I have all my commands with embeds are sent like this
The error comes from line 70 of /home/ubuntu/bbarevamp/events/guild/message.js:70:36
- on that line it seems you arent.
That line is like message.channel.send(embeds:new Discord.MessageEmbed) is there a way I can keep it that way without entirely needing to make a new variable?
if there isn't I will fix up my code and close the issue
Just put it in an array. Issue should have been closed and taken to the server already.
Thank you for the help anyways
Hello when I try to make my bot send embeds it sends the embed but the next embed doesn't get sent and I get this error,
I am using Discord.js V13 and Node 16.6.0.
Code:
https://pastebin.com/hzqww4Lg
The import from exports imports a function like this