The JOIN command does not allow entering the room until the bot sends the first message
Error call log:
[21:03:23 INF] > PASS < My OAuth >
[21:03:23 INF] > NICK plotoiadnuibot
[21:03:23 INF] > CAP REQ :twitch.tv/membership
[21:03:23 INF] > CAP REQ :twitch.tv/commands
[21:03:23 INF] > CAP REQ :twitch.tv/tags
[21:03:23 INF] JOIN #dudelka_krasnaya
[21:03:23 INF] > PRIVMSG #dudelka_krasnaya :Join room
[21:03:23 INF] Bot status: ONLINE
[21:03:24 INF] < :tmi.twitch.tv 001 plotoiadnuibot :Welcome, GLHF!
[21:03:24 INF] < :tmi.twitch.tv 002 plotoiadnuibot :Your host is tmi.twitch.tv
[21:03:24 INF] < :tmi.twitch.tv 003 plotoiadnuibot :This server is rather new
[21:03:24 INF] < :tmi.twitch.tv 004 plotoiadnuibot :-
[21:03:24 INF] < :tmi.twitch.tv 375 plotoiadnuibot :-
[21:03:24 INF] < :tmi.twitch.tv 372 plotoiadnuibot :You are in a maze of twisty passages, all alike.
[21:03:24 INF] < :tmi.twitch.tv 376 plotoiadnuibot :>
[21:03:24 INF] < :tmi.twitch.tv CAP * ACK :twitch.tv/membership
[21:03:24 INF] < :tmi.twitch.tv CAP * ACK :twitch.tv/commands
[21:03:24 INF] < :tmi.twitch.tv CAP * ACK :twitch.tv/tags
[21:03:24 INF] < :plotoiadnuibot!plotoiadnuibot@plotoiadnuibot.tmi.twitch.tv JOIN #dudelka_krasnaya
[21:03:24 INF] < :plotoiadnuibot.tmi.twitch.tv 353 plotoiadnuibot = #dudelka_krasnaya :plotoiadnuibot
[21:03:24 INF] < :plotoiadnuibot.tmi.twitch.tv 366 plotoiadnuibot #dudelka_krasnaya :End of /NAMES list
[21:03:24 INF] < @badges=;color=;display-name=plotoiadnuibot;emote-sets=0;mod=0;subscriber=0;user-type= :tmi.twitch.tv USERSTATE #dudelka_krasnaya
[21:03:24 INF] < @broadcaster-lang=;emote-only=0;followers-only=-1;r9k=0;rituals=0;room-id=113282518;slow=0;subs-only=0 :tmi.twitch.tv ROOMSTATE #dudelka_krasnaya
[21:03:24 INF] < @badges=;color=;display-name=plotoiadnuibot;emote-sets=0;mod=0;subscriber=0;user-type= :tmi.twitch.tv USERSTATE #dudelka_krasnaya
At this point, the bot is waiting for messages from the channel, but they do not arrive until the first message is sent to the channel.
If this is a bug, fix it please.
P.S Also it is possible because of this bug many now have a problem when he does not see the messages from the chat when the page is reloaded