question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Channel joining/parting does not work properly

See original GitHub issue

Hi there,

I found a interesting issue in the latest feature:

  • I join the channel ‘#hammster1911’ but the bot has two elements in the channels property ['#hammster1911','hammster1911\r\n']

  • When i part from the channel it removes hammster1911\r\n but hammster remains in the array hammster1911\r\n apperently originates from a channel join of a myself, where the second line is removed, according to this log

"#hammster1911 :hammster1911!hammster1911@hammster1911.tmi.twitch.tv "

  • Upon joining the channel #honestdangames bot.say() will write in the remaining ‘#hammster’ channel since it is not parted correctly.

I’m not 100% sure if this error originates from my code, you can check it out on GitHub though Hammster/twitch-chat#1

Btw this is for a Visual Studio Code extension that is using your library 😉

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
PBug90commented, Feb 18, 2018

Nevermind, its about parsing the join/part-events. I implemented the parser for that and it doesnt take into account that there can be \r\n at the end of the message.

Will fix and submit PR.

0reactions
kritzwarecommented, Feb 18, 2018

This issue should be resolved now @Hammster! Make sure to upgrade the package from npm to the newest releast (1.2.3) 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overview - Simple Chat Channels - Bukkit Plugins - Projects
Using SimpleChatChannels one can easily create or remove public or private chat ... BugFix: Channel members not notified of a user parting the...
Read more >
Example Script - mIRC Help
The following example script shows you how you can place related aliases, popups, ... This menu definition adds a submenu to your channel...
Read more >
View topic - eggdrop does not detect joins/parts
Code: [12:14:06] #daigo# status. I am daigobot, running eggdrop v1.6.21: 4 users (mem: 73k). Online for 01:28 (terminal mode) - CPU: 00:00 ...
Read more >
Irssi - ArchWiki
irssi/config if not present. The default configuration contains several servers, chatnets, and channels. You can start irssi with an alternate ...
Read more >
rcirc Manual - GNU.org
The channel will be always active. Switching to active channels using C-c C-SPC no longer works as expected. The solution is to mark ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found