PrivateCoffee / matrix-gptbot

GPT Chatbot for Matrix
Other
8 stars 3 forks source link

Allow specifying room IDs in AllowedUsers #10

Closed dillfrescott closed 2 months ago

dillfrescott commented 2 months ago

can i put in a room name under allowedusers in the config to allow anyone in the room to use the bot?

If not that would be a great addition

dillfrescott commented 2 months ago

like

!pAuoOPLJSiyvaLVeUV:matrix.org just as an example

kumitterer commented 2 months ago

Hi, thanks for your suggestion – this is now possible in the new v0.3.10.

https://github.com/PrivateCoffee/matrix-gptbot/blob/15a93d823134098fc077b68ead0cfaefa995edfa/config.dist.ini#L52 https://github.com/PrivateCoffee/matrix-gptbot/blob/15a93d823134098fc077b68ead0cfaefa995edfa/src/gptbot/classes/bot.py#L592-L604

CI is currently building a new release for Docker Hub and PyPI, so you should be able to update to the new version shortly.

dillfrescott commented 2 months ago

Thank you so much!!!