innightwolfsleep / text-generation-webui-telegram_bot

LLM telegram bot
MIT License
106 stars 20 forks source link

Feature request: Add parameters for channels #164

Open leros1337 opened 1 year ago

leros1337 commented 1 year ago

In channels would be nice to see

innightwolfsleep commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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 commented 1 year ago

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

leros1337 commented 1 year ago

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