When starting the client and selecting a channel, sometimes there are no colors for users.
When reselecting the channel, previously in all cases, the colors for users did show up then.
According to @xynxynxyn, this is due to loading not being fast enough from a member
(here: message.member.displayHexColor)
When starting the client and selecting a channel, sometimes there are no colors for users. When reselecting the channel, previously in all cases, the colors for users did show up then.
According to @xynxynxyn, this is due to loading not being fast enough from a member (here:
message.member.displayHexColor
)The code causing issues should be this one: https://github.com/xynxynxyn/terminal-discord/blob/b046b4cd3027068fd3adebf780b360616896fe94/index.js#L440-L451