Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bot's presence ack #17

Open
roughnecks opened this issue Feb 22, 2020 · 9 comments
Open

Bot's presence ack #17

roughnecks opened this issue Feb 22, 2020 · 9 comments

Comments

@roughnecks
Copy link

Hello,
is there a way for me to check bot's status (online/offline/relaying) from Telegram?
I mean, if I haven't joined IRC but am only sitting on Telegram group, do I have any way to check whether the bot is properly running and relaying?

Thanks

@26000
Copy link
Owner

26000 commented Feb 22, 2020 via email

@roughnecks
Copy link
Author

I'm running the bot at home and sometimes my connection fails so I'd like to be 100% sure it's properly connected to IRC; not sure if querying the bot on Telegram may be sufficient...

@26000 26000 closed this as completed in ddaf777 Mar 5, 2020
@roughnecks
Copy link
Author

Hi, thanks for this, I just upgraded my bot but it keeps saying that:
"IRC bot is online and (almost certainly) not in channel." when it actually is in channel.

@26000
Copy link
Owner

26000 commented Mar 5, 2020

Oh. What IRC network are you connected to? Maybe I picked a bad way to check whether the bot is in channel (I'm not aware of any other way though, so if I can't get this to work, I'll only be able to report if the bot is online).

@26000 26000 reopened this Mar 5, 2020
@roughnecks
Copy link
Author

I'm on freenode.

@26000
Copy link
Owner

26000 commented Mar 5, 2020

Thanks! Tested it on Freenode, turns out their servers send the channel name and a space after it, which is why IRChuu thought it's not the channel it should be on. I fixed it in 5218ad4. Also now it won't say it's not on channel if it didn't receive a reply from server in two seconds (default, configurable as statustimeout in IRC config section), instead saying it was unable to find out.

@26000 26000 closed this as completed Mar 5, 2020
@roughnecks
Copy link
Author

Sorry to bother you once again, but my bot is still reporting wrong info:

IRC bot is online and (almost certainly) not in channel.

I didn't change a bit in my config, still connected to freenode.

@26000
Copy link
Owner

26000 commented Apr 10, 2020

Did it start happening after it's been online for a while or does it happen after each restart?

@26000 26000 reopened this Apr 10, 2020
@roughnecks
Copy link
Author

roughnecks commented Apr 10, 2020

Not sure but I launched the bot at 11:30 this morning (3 and half hours passed) and I just issued the /status command with the following result:

IRC bot is online and (almost certainly) not in channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants