Closed ensowhat closed 3 years ago
I can take a look at this. I have some experience with simple telegram bots.
What about "whitelisting" it on the IRC channel ?
Hi , i can help with this , i have created a bot for the purpose, https://github.com/MozillaKerala/botzilla
@lapineige I'll ask again, but it doesn't seem to be in the policy @Waterloo @DoublePlusGood23 Great! Do you mind if I assign this issue to both of you?
I'll ask again, but it doesn't seem to be in the policy
@ensowhat If that's right, I'm curious to know why (just for the information, it's no a critic, I want to understand) Do you know what is the flooding limit ? (to know if it's not too low, as it might create issue in case of high activity)
@Waterloo @DoublePlusGood23 thanks for your help :)
@fabricedesre Can you please have a look on the white listing options we have?
@Waterloo @DoublePlusGood23 let's wait to know if white-listing is possible - if no I will ping you to know if you still can help here :smiley:
I think @Waterloo 's bot is a better fit, it exists and uses Node.js over Python3. @lapineige What do you mean by "whitelisting" ?
@lapineige What do you mean by "whitelisting" ?
Remove the limitation in number of messages, only for the bot - to avoid ban. It's a lot easier than patching the bot.
I think @Waterloo 's bot is a better fit, it exists and uses Node.js over Python3
I don't know any of those bots, but well teleirc as been setup in the past, so we know how to do it again, that make it easy. What's the advantages of the bot you're talking about ?
ping @DoublePlusGood23 ^
@lapineige can you explain the white listing part ? Who sets the limitations ?
Hi @Waterloo :) I can't, I don't know how it's managed, but @fabricedesre might have more information. But the main idea is that there is a limit of message/unit of time to avoid flooding (and it's low), so the bot is banned if we don't white list it (if possible) / adapt it.
We have a fairly aggressive flood limit on the #fxos irc channel to keep spammers away. Unfortunately it sometimes bites us back in legitimate situations:
This flood limit can be changed for the channel by any channel operator, but I have yet to find if we can whitelist a given nickname.
@fabricedesre , what are the limits ?
Our current mode is +trnjf 4:2 *5:4 I think if you don't send more than one line per second you should be fine.
Our current mode is +trnjf 4:2 *5:4
Can you explain what that mean ?
I think if you don't send more than one line per second you should be fine.
This include splitting message with multiple lines, right ? Don't you think it's so low that it can be an issue, like people replying on irc before the message is completely send ?
ping @fabricedesre Any news ?
I will make the bot be a half-op in the channel. That may let him not be subject to the flood limits.
It's a good news ! :)
So @Waterloo @DoublePlusGood23 do you have some time to setup the bot ?
ping @Waterloo @DoublePlusGood23
@lapineige I can host the bot, sure. https://github.com/FruitieX/teleirc right?
Yes it's this one. Should we setup a new telegram group just for testing the bot ? (to avoid having to prevent people to post thousands of messages while we setup it ^^)
I'd recommend it. This way, people can decide, whether they want to have their messages synched with IRC or not.
I have a bot running on digital ocean. Going to run a few more tests, but it seems to work well.
Up :) @DoublePlusGood23 are you ready to adding the bot ?
@lapineige Yup, it seems to work fine :)
Ok, @fabricedesre is in holidays, let's wait for him before activating the bot.
@lapineige Sounds good. Feel free to contact me on telegram @fabricedesre
Up @DoublePlusGood23 @fabricedesre
Ping @DoublePlusGood23 :)
up :)
This is to be done between https://telegram.me/B2GOS and the #fxos IRC chan on irc.mozilla.org.
This bot was setup, but got banned for flooding: https://github.com/FruitieX/teleirc We can probably hack it to implement a limitation on the number of lines/sec. or find another solution.