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 geöffnet am 18. Aug. 2020

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2.317 Forks)batch import
Category: Core - API - BankGood First IssueStatus: In ProgressType: Enhancement

Repository-Metriken

Stars
 (4.337 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 1T 15h) (3 gemergte PRs in 30 T)

Beschreibung

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