chrisrude / oobabot

A Discord bot which talks to Large Language Model AIs running on oobabooga's text-generation-webui
MIT License
101 stars 34 forks source link

bot responds to channels even without / permissions #13

Closed chrisrude closed 1 year ago

chrisrude commented 1 year ago

the bot seems to monitor all channels, even ones in which it doesn't have / permissions. Whoops! Fix it.

Thanks @S1gil0 for pointing this out!

chrisrude commented 1 year ago

Hi @S1gil0,

Actually, this does work, I just pointed you at the wrong part of the Discord UI.

Could you please try this instead and let me know if it works for you?

In your server, right-click on the channel you want to remove access to, then choose "Edit Channel", then "Permissions"

Assuming this is a public channel, you'll need to click "Advanced Permissions". You should get something which kinda looks like this: image

Here, RosieAI is the name of my oobabot. You'll see the name of your own bot, and later on, the name of the bot account (with the #0000 identifier).

Select each of these in turn, and change "View Channel" to "X".

Hit "Save Changes".

The bot should no longer operate in that channel.

Please let me know if this works for you!

S1gil0 commented 1 year ago

it is working, ty (=

chrisrude commented 1 year ago

Awesome, glad to hear! Apologies for steering you wrong, and the next update will have this in a FAQ so that others can benefit from the knowledge in the future. :)