7 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!For instance I created these two posts side by side
(N/A is the default value)
It seems to be the first one after bot starts
even though thread gets created and msg is sent and everything
its the same here
well i just console.logged thread. its not null
still it says N/A
Full code : https://pastebin.com/yqYcjs0b
Pastebin
export async function sendPost(post: Post) { let channel: discor...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
add await to .updateOne()
it returns
Promise<ThreadChannel>
, just use it instead of fetching again