gordon-bot
gordon-bot copied to clipboard
Add permissions for only certain users
@jfrazelle this is something I'd like to implement in go-bot, I was thinking about something more generic so every plugin can have it easy, something like:
- You specify one or more admins in the bot config (this admins must be authenticated with nickserv)
- When registering the plugin, you can specify if the plugin requires permission or not
- If the plugin requires permission, the admins then can add users, something like:
!auth allow <plugin> <user1> <user2> ...
But I'm still not sure about it, as it will require persistence which is another thing I'd like to abstract in the bot, so every plugin could persist data easily without reinventing the wheel every time.
Any thoughts about it?