Comments (6)
But it sounds like you're asking for something different, which is for the bot to respond to direct pings but to not follow up with unsolicited responses in all but one channel. Is that right?
Correct
from oobabot.
Thanks for the suggestion!
I'm curious what you're seeing, could you describe a little more what behavior you're observing on your server and what you'd like the fix to address?
I know on my server we only talk to the bot in a single channel, so that people who don't care about the bot can just mute the channel to not be annoyed. And as you might know you can (restrict the bot to certain channels)[https://github.com/chrisrude/oobabot/blob/main/docs/FAQ.md#q--limit-the-bot-to-certain-channels].
But it sounds like you're asking for something different, which is for the bot to respond to direct pings but to not follow up with unsolicited responses in all but one channel. Is that right?
from oobabot.
Been thinking about this; what if the restriction were around the number of channels the bot could participate in. i.e. it would post unsolicited messages only in the two most recent channels it was summoned in.
from oobabot.
I'm trying as much as possible to have a sensible set of default behaviors. When there are tons of options that can be intimidating to folks and ask a lot of their time, and I want to make this as easy as possible for folks to just get something working.
Limiting it two 2 unsolicited channels also furthers the goal of having the bot act as "human-like" as possible... a human wouldn't carry on a conversation in more than a few channels at a time. And it would serve the requested goal of limiting spam in large servers.
That said, if the bot keeps getting pinged back and forth in different channels it could still create a lot of noise, but the solution to that might be for the admin to restrict the channels it has access to.
from oobabot.
@rebek43 I added this in the above commit:
Adds a new unsolicited_channel_cap
option in
discord
section of config.yml
. It does this:
FEATURE PREVIEW: Adds a limit to the number of channels
the bot will post unsolicited messages in at the same
time. This is to prevent the bot from being too noisy
in large servers.When set, only the most recent N channels the bot has
been summoned in will have a chance of receiving an
unsolicited message. The bot will still respond to
@-mentions and wake words in any channel it can access.Set to 0 to disable this feature.
Assuming you have a config.yml
file already, you can generate an updated version with cp config.yml config.yml.backup && oobabot -c config.yml.backup --gen > config.yml
You can then diff config.yml.backup config.yml
to see what changed.
If you are running from source, do you want to try this out and let me know how it works for you? If not it should be in the next release.
from oobabot.
should do the trick
thanks
from oobabot.
Related Issues (20)
- [BUG] Different Outputs Streaming (More Coherent) vs Single Message (Writes Transcript) HOT 8
- What would cause the bot responses to be drastically different than that of the webui? HOT 4
- Won't connect to Stable Diffusion HOT 5
- Having Autobooga enabled just results in oobabot failing HOT 6
- Stripping newline characters breaks proper response handling... HOT 2
- Feature Request (or bug?): Prevent splitting response when code is involved.
- Feature Request: Internet capabilities
- Feature request: Reading files
- Empty Response HOT 7
- Circular Import issue HOT 2
- Unable to connect HOT 1
- API Changes HOT 17
- AttributeError: 'Persona' object has no attribute 'wakeword_patterns'
- Require mention each time HOT 2
- oobabot not working HOT 13
- Cannot import name 'GenericAlias' from partially initialized module 'types' -- circular import? HOT 2
- Translation
- discord token HOT 3
- gradio throws errors - outdated package? HOT 1
- Unable to connect. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oobabot.