-
I am on the latest version as of now and I am very burnt out. Right now, it is returning an empty message. I have it set up to do this:
This is sent to a client.on('messageCreate') for now, because tutorial after tutorial, I came to the conclusion that it needs a message parameter. The goal is to NOT have it trigger on message creation, but on a task timer. I understand it'll need logic to determine if a message has been sent or not, but I will need to see if the message works first. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's no so in your code, it should look like this: if you recently updated to v13 from v12 I'd recommend reading this: https://discordjs.guide/additional-info/changes-in-v13 |
Beta Was this translation helpful? Give feedback.
There's no
embed
parameter in the message options anymore. You would need to useembeds
and it'll only accept arrays.so in your code, it should look like this:
.send({ embeds: [embed] })
if you recently updated to v13 from v12 I'd recommend reading this: https://discordjs.guide/additional-info/changes-in-v13