paris-ci / CloudBot

CloudBot - The simple, fast, expandable, open-source Python IRC Bot!
GNU General Public License v3.0
6 stars 1 forks source link

Add faq permissions #62

Open Afootpluto opened 8 years ago

Afootpluto commented 8 years ago

Add the ability to limit the use of certain faqs based on permissions.

paris-ci commented 8 years ago

You mean, a permission to use the !faq command ?

Afootpluto commented 8 years ago

no. Permissions to use certain faqs. Some of the faqs might be able to be used by everyone but another might only be able to be used by moderators.

paris-ci commented 8 years ago

A permission to read in the local faq for example ?

Afootpluto commented 8 years ago

Someone might be able to use factoid A but not factoid B.

paris-ci commented 8 years ago

A permission PER factoid ? Why ?

Afootpluto commented 8 years ago

You would not have to have permissions by default but if you specify in the creation of that faq that there is a required permission to use it, then only people with that permission can use it.

paris-ci commented 8 years ago

I see... but, it seems easier to add an invite only chan #private and build your "private faq" there with !lfaqadd

Afootpluto commented 8 years ago

but i might want only ops to be able to use it in the channel.

Afootpluto commented 8 years ago

I am trying to stop mini modding.