feat: Show Player Rankings in the Discord Server of STEEMPUNKNET
Words
74
Reading
1 min
Listen
Play
9y
We created a new feature for our new STEEMPUNK-NET Discord Bot.
New Features
What feature(s) did you add?
https://github.com/pcsg/steempunknet-discord-bot/issues/5
The STEEMPUNK-NET Discord Bot need some more Commands
- show top
- show level*
- show newest
- show random -> show a random player
How did you implement it/them?
We created new REST API entry points and created the new Bot commands.
New REST API entry points are:
- /spn/v1/search/fighters/level/{level}
- /spn/v1/search/fighters/newest
- /spn/v1/search/fighters/top
Commits:
- https://github.com/pcsg/steempunknet-discord-bot/commit/1fb89a742b765fa9028d09da0e3f02f6e2d76343
- https://github.com/pcsg/steempunknet-discord-bot/commit/59d0a893b32acfbfafe006e5f01dba03eae5085b
- https://github.com/pcsg/steempunknet-discord-bot/commit/886997d5fd46052bc8890d6dbac456a7bc40597d
Preview:
The complete command file for the bot can you find here:
https://github.com/pcsg/steempunknet-discord-bot/blob/master/commands/show.js
Posted on Utopian.io - Rewarding Open Source Contributors