EconomyCord
Search…
Leaderboard/top users

Getting top users information

1
await EcoCord.get_top_by_balance(limit)
2
await EcoCord.get_top_by_bank(limit)
3
await EcoCord.get_top_by_both(limit)
Copied!
All functions getting top users information will return a list of dictionaries
Here is an example:
1
>>> await EcoCord.get_top_by_balance(10)
2
[{'userid': 313816239791144960, 'balance': 250},
3
{'userid': 497200251661320212, 'balance': 100}]
Copied!
Last modified 9mo ago
Copy link