Fetch specific info with command

Asked Sep 13, 2023·1 reply·Last activity 2 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

Hello guys
I wonder if it’s possible to create a command which can fetch the specific ranking of a tennis player from a pastebin list. For example this week’s top ten players are:

1. Carlos Alcaraz
2. Novak Djokovic
3. Daniil Medvedev
4. Holger Rune
5. Casper Ruud
6. Jannik Sinner
7. Stefanos Tsitsipas
8. Andrey Rublev
9. Taylor Fritz
10. Frances Tiafoe

and I would like a command called !rank player’s_last_name to respond in which ranking position the desired player is. Not only for the top ten though, I’d like to have one with the first 100 players in the world. Do you think it can be done? there’s a limit of characters in nighbot as you already know.

1 reply

it can be done if u find an api with the desired info... such a thing is very likely to exist, however, u may not be able to find one that's free