Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iNat profile autoadd subcommand #15

Closed
synrg opened this issue Sep 19, 2019 · 2 comments
Closed

iNat profile autoadd subcommand #15

synrg opened this issue Sep 19, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@synrg
Copy link
Collaborator

synrg commented Sep 19, 2019

The [p]inat profile autoadd subcommand (moderator or "Manage profiles" role) will watch the channel from which it is invoked for messages containing a profile link and:

  • if the user posting the link is not yet known to the bot, automatically add the user and
    • show a reaction button to allow them to remove it
    • also show a message advising them how to remove or update it with subcommands for those operations
[p]inat profile autoadd start [report_to]
[p]inat profile autoadd stop
  • Where [report_to], if specified, optionally reports each add to the specified channel.
    • If this needs to be changed, stop and then start again with that parameter specified, or else see additional ideas below.

e.g. on #introductions channel, a moderator types:

[p]inat profile autoadd start #inat-profiles

Furthermore, if autoadd with a report is in effect, then any adds, updates or removals (whether or not they were done in-channel) will be reported to the named channel.

Additional ideas for reporting (perhaps deserves a separate issue):

As moderator (or "Manage profiles" role):

[p]inat profile autoreport start [report_to] [subcommands]
[p]inat profile autoreport stop [report_to] [subcommands]

The idea is to allow reporting to be enabled/disabled independently of autoadd reporting. If [subcommands] are specified, specific subcommands to start or stop reporting can be monitored (allowable values add, update, remove).

@synrg
Copy link
Collaborator Author

synrg commented Sep 19, 2019

Look into using standard Redbot permissions cog for role-based permissions (i.e. no custom code needed?) I worry that any sufficiently general role names like "Manage profiles" may collide with use of such roles by other cogs/bots, so each server should be able to manage those roles & name them however they see fit, e.g. "Manage eBird profiles" as distinct from "Manage iNat profiles", etc.

@synrg synrg self-assigned this Sep 19, 2019
@synrg synrg added the enhancement New feature or request label Sep 19, 2019
@synrg synrg removed their assignment Dec 24, 2019
@synrg
Copy link
Collaborator Author

synrg commented Dec 29, 2019

It's better to have moderator interaction whenever someone is added.

@synrg synrg closed this as completed Dec 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant