jkomoros / flux-bot

Discord bot for GALE-x
3 stars 1 forks source link

In production message forks sometimes don't have guildID #45

Closed jkomoros closed 3 years ago

jkomoros commented 3 years ago

perhaps even session.channelMessages will sometimes return messages without a guildID?

jkomoros commented 3 years ago

Hmm wait bot.forkMessage live fetches the message in question via channelMessage, which should push the guildID in forcibly.

Perhaps some kind of weird session state caching behavior?

jkomoros commented 3 years ago

it appears to happen ever time multiple messages are forked. And it's true for every message other than the last one (which is where the thread icon was).

session.channelMessages must not have guildID set.