From b17e6aba6b765752b28d949197aca8a991381717 Mon Sep 17 00:00:00 2001 From: Ben Armstrong Date: Sat, 14 Sep 2024 14:05:14 -0300 Subject: [PATCH] top* cmd help formatting fixes. --- inatcog/commands/obs.py | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/inatcog/commands/obs.py b/inatcog/commands/obs.py index 1fd0b3c..37c716b 100644 --- a/inatcog/commands/obs.py +++ b/inatcog/commands/obs.py @@ -200,13 +200,13 @@ async def top_identifiers(self, ctx, *, query: Optional[TaxonReplyConverter]): • See `[p]query` and `[p]taxon_query` for help with *query* terms. e.g. + `[p]topids bees` + → Top identifiers by number of bee observations they identified for others + `[p]topids in prj arthropod ecology` + → Top identifiers by number of observations they identified for others in the Arthropod Ecology in Action project + `[p]topids arthropods from nova scotia` + → Top identifiers by number of arthropod observations they identified for others from Nova Scotia ``` - [p]topids bees - -> Top identifiers by number of bee observations they identified for others - [p]topids in prj arthropod ecology - -> Top identifiers by number of observations they identified for others in the Arthropod Ecology in Action project - [p]topids arthropods from nova scotia - -> Top identifiers by number of arthropod observations they identified for others from Nova Scotia """ # noqa: E501 await self._tabulate_query(ctx, query, view="ids") @@ -219,13 +219,12 @@ async def top_observers(self, ctx, *, query: Optional[TaxonReplyConverter]): • See `[p]query` and `[p]taxon_query` for help with *query* terms. e.g. - ``` - [p]topobs bees - -> Top observers by observation count of bees - [p]topobs in prj arthropod ecology - -> Top observers by observation count of observations in the Arthropod Ecology in Action project - [p]topobs arthropods from nova scotia - -> Top observers by observation count of arthropods from Nova Scotia + `[p]topobs bees` + → Top observers of bees + `[p]topobs in prj arthropod ecology` + → Top observers in the Arthropod Ecology in Action project + `[p]topobs arthropods from nova scotia` + → Top observers of arthropods from Nova Scotia """ # noqa: E501 await self._tabulate_query(ctx, query) @@ -238,13 +237,12 @@ async def top_species(self, ctx, *, query: Optional[TaxonReplyConverter]): • See `[p]query` and `[p]taxon_query` for help with *query* terms. e.g. - ``` - [p]topspp bees - -> Top observers by species count of bees - [p]topspp in prj arthropod ecology - -> Top observers by species count of observations in the Arthropod Ecology in Action project - [p]topspp arthropods from nova scotia - -> Top observers by species count of arthropods from Nova Scotia + `[p]topspp bees` + → Top observers by spp of bees + `[p]topspp in prj arthropod ecology` + → Top observers by spp in Arthropod Ecology in Action project + `[p]topspp arthropods from nova scotia` + → Top observers by spp of arthropods from NS """ # noqa: E501 await self._tabulate_query(ctx, query, view="spp")