Skip to content

Commit

Permalink
Remove hidden redundant tab top aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
synrg committed Sep 14, 2024
1 parent 70011bd commit fd912c5
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions inatcog/commands/obs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]):
Expand Down

0 comments on commit fd912c5

Please sign in to comment.