From fd912c52a73fd97208710c4fff0f72f0fd79f2ec Mon Sep 17 00:00:00 2001 From: Ben Armstrong Date: Sat, 14 Sep 2024 15:27:43 -0300 Subject: [PATCH] Remove hidden redundant tab top aliases. --- inatcog/commands/obs.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/inatcog/commands/obs.py b/inatcog/commands/obs.py index 7886e8b..6b82673 100644 --- a/inatcog/commands/obs.py +++ b/inatcog/commands/obs.py @@ -496,40 +496,18 @@ def format_pages(user_links, users_count, entity_counted, view): else: await ctx.send(embed=embeds[0]) - @tabulate.command(name="topids") - @use_client - async def tabulate_top_identifiers( - self, ctx, *, query: Optional[TaxonReplyConverter] - ): - """Top observations IDed per IDer (alias for `[p]top ids`).""" - await self._tabulate_query(ctx, query, view="ids") - @commands.command(name="topids", hidden=True) @use_client async def top_identifiers_alias(self, ctx, *, query: Optional[TaxonReplyConverter]): """Top observations IDed per IDer (alias for `[p]top ids`).""" await self._tabulate_query(ctx, query, view="ids") - @tabulate.command(name="topobs") - @use_client - async def tabulate_top_observers( - self, ctx, *, query: Optional[TaxonReplyConverter] - ): - """Top observations per observer (alias for `[p]top obs`).""" - await self._tabulate_query(ctx, query) - @commands.command(name="topobs", hidden=True) @use_client async def top_observers_alias(self, ctx, *, query: Optional[TaxonReplyConverter]): """Top observations per observer (alias for `[p]top obs`).""" await self._tabulate_query(ctx, query) - @tabulate.command(name="topspp", alias=["topsp"]) - @use_client - async def tabulate_top_species(self, ctx, *, query: Optional[TaxonReplyConverter]): - """Top species per observer (alias for `[p]top spp`).""" - await self._tabulate_query(ctx, query, view="spp") - @commands.command(name="topspp", alias=["topsp"], hidden=True) @use_client async def top_species_alias(self, ctx, *, query: Optional[TaxonReplyConverter]):