dronefly-garden / dronefly

Red Discord Bot V3 cogs for naturalists.
Other
16 stars 3 forks source link

inat: User activity / project membership indicators #50

Closed synrg closed 4 years ago

synrg commented 4 years ago

In order to reconcile the iNat Discord project membership lists with current guild membership, provide indicators for the [p]inat usershow and [p]inat userlist commands for:

Use a compact fixed-width layout for the listing so that it can be information-dense for rapid review. Don't worry about looking good anywhere but on the desktop.

synrg commented 4 years ago

See also #48 which needs some code quality issues dealt with first.

synrg commented 4 years ago

Now that #48 is closed, and since the end of year is looming (i.e. by year end, we would like this command to be helpful for adding members to the 2020 yearlist), this one is my next priority.

synrg commented 4 years ago

For project membership, use /v1/projects/#, e.g. for 2019 yearlist, /v1/projects/33276 and look at search_parameters. Find the one with "field": "user_id" and use "value": [...] (value_number seems to contain the exact same list). Alternatively, see the project_observation_rules and look for ones with "operator": "observed_by_user?". The operand_id contains the id of each user in the rules.

synrg commented 4 years ago

Feature complete.