How to edit an Embed(Documentation isn't working)
Hi.
Trying to make a discord bot that will send a message to a specific channel on startup. I have the message sent to the specific channel on startup, however, when I try to edit it a error is thrown saying
message.edit is not a function
. I am following the direct steps from the documentation and it is not working. Why and how do I fix this issue?
8 Replies
Yes I am aware that my code doesn't follow the structure mentioned here https://discord.com/channels/737141877803057244/1076513439524077598/1076552454147145879, I have not bothered to change that yet and I believe that is not related to the bug at hand as far as I know?
is is related
also this isn't sapphire related, #discordjs-support next time please.
now I have the same error as before
cant see your code
should be
isTextChannel(channel) && !isStageChannel(channel)
k that fixes the sending issue
this isn't flagged in the code but during run time
Idk then
Check whether it exists I guess