TextChannel.send only works when sending raw content
Hello , i am fetching a channel and trying to send an embed, and it doesnt work, it only allows me to send a channel when i remove the embed and send raw String content.
Here is the code , i have added an example of what works and what doesnt work :
Any ideas on why could that be ?
Thanks in advance.
I am using Discordjs 14.6.0
18 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPUnknown User•7mo ago
Message Not Public
Sign In & Join Server To View
1- yeah im working on updating to the latest version
2- its not getting rate limited, nor am i getting any errors in the console.
3- No it just seems to get stuck on that event but the main thread continues to work fine
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
I did, pretty much everything before i try to send an embed works but everything after i try to send and embed doesnt
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Yes sir, it doesnt log from the rest.on
not getting rate limited
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Added the rate limit event just before i add my listeners
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Yeah i tried 😦 , it doesnt throw any error
i guess ill setup a new project with the latest discordjs and if that works ill update to latest
thanks for the help
ahh never mind its actually throwing an error now :
Unknown User•7mo ago
Message Not Public
Sign In & Join Server To View
Ughh thats a bummer
alright thanks buddy
ill update ill let you know
Alright i setup a new project with latest discordjs and it works now, i guess its time to update, thank you 🙂 @gwapes