irchuu
irchuu copied to clipboard
Bot's presence ack
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
Well, for now, you can type /help or ping it in DM, and if it replies, then it's running. I'll think about making some /status command. It should definitely be possible to tell Telegram users if irchuu is in the IRC channel, but I'm not quite sure about the reverse.
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...
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.
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).
I'm on freenode.
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 5218ad4a068def50aefb0b54f2bf49449da35887. 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.
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.
Did it start happening after it's been online for a while or does it happen after each restart?
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.