ausboss / PygDiscordBot

Discord bot that uses KoboldAI. Supports tavern cards and json files.
63 stars 29 forks source link

Multi-user option? #33

Open Pyroserenus opened 1 year ago

Pyroserenus commented 1 year ago

Has an option to support a sort of group chat mode been considered where the bot reads the full context of the channel and interacts each x messages as if they are a chat user? or each x seconds assuming at least one new message is present?

ausboss commented 1 year ago

Actually I have made that exact thing at one point on a separate branch. It worked really well especially when you had multiple bots talking to each other. The default ping back and forth reply system can get out of hand when multiple bots are speaking to each other. I do plan on remaking that again and possibly giving the user options to select which reply system they want to use.

Pyroserenus commented 1 year ago

I anticipated this and this is why i mentioned the "each x seconds assuming at least one new message" idea. The ideal is to limit the bot to a human like cadence with possibly usage of @bot being an override. possibly alongside of prompt injection to inform the bot that it is in a multi user chat

making it an option set with a boolean flag in the .env along side of a cooldown seems viable