Platform Update: Commands, API V1, and More!

Commands & API v1: Submit your commands through Top.gg or the new V1 API! Let users get a taste on how to use your bot before they install it!

Commands, API V1, and More!

Hey all! It's been a busy week here at Top.gg, but I'm super excited to let you know that we're coming with tons of new improvements to the website! Ranging from faster load times to new features, and finally a new API version which is cross-platform between bots and servers! Lets go through each new thing one by one to give you a better idea of the changes:

Commands

You can now submit your slash commands payload to top.gg, after submitting them you will receive a new tab on your bot page named "Commands". Users will be able to view the documentation for each command and search for commands in this view.

To submit them you can either go to the new "Commands" tab in your dashboard, or use the new commands push API endpoint (documented here)

Vote Checking for Servers

We've heard you loud and clear! The lack of being able to reward users for voting is severely hindering you from getting growth, while we're still designing a true, cross-platform approach for webhooks. We wanted to make sure you have some way to disburse rewards in the meantime.

For this you can use our new vote check API endpoint (documented here). Integrate this in your resident bot to let users disburse rewards, or use this to verify whether someone truly has voted for the bot before handing out any rewards.

API/v1

One common topic you may have noticed is that all these revolve around the API, which has been something that has not been updated for years at top.gg! I'm very excited to let you know that we have a new version of the API. while still missing a lot of current features the old API has (such as project searching and stats posting), it has been fully rewritten to scale for the future for bots, servers, and anything we may launch in the future!

Important to note: the new API does require you to make a new Token, legacy tokens are not supported on this API and will throw an error if you try to use it. On the flip side, new tokens are supported on the legacy API, so you can swap out your legacy token for a new token as soon as today.

Performance Upgrades, Visual Flickering

As part of our ongoing rewrite of the site, we've solved a ton of visual issues, buggy interactions, and are even experimenting with a whole new way of serving content. This experiment is now available on all homepages in any language for both bots and servers and should load around 3-4x times faster. (your mileage may vary based on your own network conditions though!)

A few notable fixes include: issues on bot and server pages regarding mobile and desktop are no longer occurring, navbar search bar getting stuck should no longer happen.

Final Notes

A lot of this was long overdue, and a lot more will come in the following months. We've been actively working and experimenting on other ideas as well, and very excited to share more soon!

Thanks for reading through all of this, this all is just the beginning, many more amazing updates are coming in the next months! If you're interested in Top.gg, I'd love to have a conversation with you in our Discord community!