Cog-Creators/Red-DiscordBot

[Bank API] Make it so `get_leaderboard_position` returns a tuple with user position and total entries in leaderboard

Open

#4,200 opened on Aug 18, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (2,317 forks)batch import
Category: Core - API - BankGood First IssueStatus: In ProgressType: Enhancement

Repository metrics

Stars
 (4,337 stars)
PR merge metrics
 (Avg merge 1d 15h) (3 merged PRs in 30d)

Description

Feature request

Select the type of feature you are requesting:

  • Cog
  • Command
  • API functionality

Describe your requested feature

As the title suggest, this would allow making displays without having to make more expensive calls.

Make it into an kwarg so that it is not breaking and allows existing behaviour when not used.

Alternativelly add a new API call that returns this tuple

Contributor guide