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

Feature request: Add parameters for channels #164

Open
leros1337 opened this issue Nov 3, 2023 · 6 comments
Open

Feature request: Add parameters for channels #164

leros1337 opened this issue Nov 3, 2023 · 6 comments
Assignees

Comments

@leros1337
Copy link
Contributor

In channels would be nice to see

  • To reply last user message in channel in 1,2,5 mins or any diffenrent time (this looks like just to add param about antiflood, but this might affect private messages to bot)
  • Toggle off/on in config posting in channels without calling bot. For example bot ignores everything, but he reads last user message if you call him like @your_bot 'hey'
@innightwolfsleep
Copy link
Owner

innightwolfsleep commented Nov 4, 2023

To reply last user message in channel in 1,2,5 mins or any diffenrent time

Additional treashold for bot answering? This should be easy to implement, indeed.

Toggle off/on in config posting in channels without calling bot.

Yeah, I've thought about this option. I'll add it later.

@innightwolfsleep innightwolfsleep self-assigned this Nov 4, 2023
@innightwolfsleep
Copy link
Owner

Toggle off/on in config posting in channels without calling bot. For example bot ignores everything, but he reads last user message if you call him like @your_bot 'hey'

Added for chats in #166.

@leros1337
Copy link
Contributor Author

I tried in bot config to mute him, but he answers in group channel anyway

"only_mention_in_chat": "true",
"only_mention_in_chat": "false",
"only_mention_in_chat": true,
"only_mention_in_chat": false,

not working :(

@innightwolfsleep
Copy link
Owner

This should work:
"only_mention_in_chat": true,
Just checked with 'true' in group
image

Okay, perhaps problem is - feauture work in group but not channel. I'll check it.

@innightwolfsleep
Copy link
Owner

p.s. can you share details of your scenario?

@leros1337
Copy link
Contributor Author

leros1337 commented Nov 8, 2023

p.s. can you share details of your scenario?

I added bot to group chat and its answering anyway even if "only_mention_in_chat": true,, but maybe i made wrong update via git pull. ill try clean reinstall and inform you

upd. Okay it was my misstake. Maybe it`s quite buggy, after 5-6 messages stopped answering, but if i pm bot answers fine

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

No branches or pull requests

2 participants