avivace / RSSnotifier

Node RSS reader telegram bot. Provides notification on queries-matching elements and supports multiple users.
GNU General Public License v3.0
16 stars 2 forks source link

Group chats support #11

Open jasonjordan opened 4 years ago

jasonjordan commented 4 years ago

Yikes! I got burned by dropping this into a Group. It responded to everything everyone was posting!

I note in the source there is a to-do regarding use in groups.

For the moment I've just hacked the msg token so it's broken and the bot stops listening.

Not optimal but I'm not a coder!

Any ETA on getting it to work nicely in a group?

avivace commented 4 years ago

Yes, I remember this being a todo. However, IIRC, if you don't set the privacy mode the bot cannot access any message not tagging the bot. Shouldn't this be enough?

I can't test this right now but maybe @dennib can take a look?

mrjasonjordan commented 4 years ago

OK, this is where I admit to being a shallow Geek.

Can you explain to me what "privacy mode" is? If I can get it work as you describe - then yes, it's perfect.

mrjasonjordan commented 4 years ago

ok got it. All sorted. All working. Perfect.

Almost. 8-)

I'll add a new issue.

mrjasonjordan commented 4 years ago

I'm learning quickly.

Unfortunately, if you set the group privacy, the bot does not have access to messages. 8-(