#No starter message

1 messages · Page 1 of 1 (latest)

placid fjord
#

This is a thread without a starter message (unless I messed up)

brittle zephyr
#

hm

thorn tiger
#

this is exactly what i had though

#

thought*

brittle zephyr
#

I guess it would return the first message

thorn tiger
#

but messing around with the djs library, i would assume it just means the first message in the threadChannel

#

and not the message that created the threadchannel

pale cliff
#

u can make a thread from a message and delete it but the thread stays therefore the method wud reject

placid fjord
thorn tiger
#

but it would tho, i think it would be named no starter message

pale cliff
#

no why wd it be name as such?

thorn tiger
#

can you explain this?

pale cliff
#

the message the thread it started from has a message ..

#

u see.. the system message..

thorn tiger
#

im so confused

#

i see it is a system message

#

im expecting the threadChannel#fetchStarterMessage method to reject, bc the thread channel doesn't have a starter message tho?

placid fjord
#

Now this thread really doesn’t have a starter message anymore😉

pale cliff
#

the system message is the starter message...

thorn tiger
#

wait can you explain what a system message is

pale cliff
#

message sent by discord..

placid fjord
#

A message generated by discord itself

pale cliff
#

or ye generated

placid fjord
#

Like the welcome messages for guild join, thread created, etc

thorn tiger
#

yeah okay

#

so a starter message is a message that created a thread channel?

placid fjord
#

Correct

#

That can be a system message or (as is the case in the other thread) a user message

thorn tiger
#

wait, are system messages always generated when you create a thread without a starter message?

placid fjord
#

Yes. But you can delete them

thorn tiger
#

delete.. the system message?

placid fjord
#

Correct. I just did for this thread

thorn tiger
#

oh so ThreadChannel#fetchStarterMessage will reject, if that message.. doesn't exist anymore?

#

since a system message would be generated automatically by creating a thread channel w/o a starter message

placid fjord
#

Yes

thorn tiger
#

okay just a confirmation, fetchStarterMessage will only reject when the message doesn't exist anymore?

#

are there any other situations where the promise might reject ?

placid fjord
#

Mostly yes. Or when discord has other problems. Same as for every fetch. A 500 error can occur at any endpoint

thorn tiger
#

oh okay

#

thanks!