Guide
Want to provide more choices for spending your currency to your users? You've come to the right place!
Last updated
Was this helpful?
Want to provide more choices for spending your currency to your users? You've come to the right place!
Last updated
Was this helpful?
Let's keep it short and sweet.
Rewarding - By giving more ways to spend, you motivate users to keep earning your currencies as they will have multiple goals to reach, thus keeping them busy. As well, the investment aspect of could bring further amusement!
Balancing - Having multiple options to spend the currency on means users must balance over these options. They'll also be less likely to keep the currencies to themselves, thus allowing the leaderboard to refresh over time!
Beneficial - By going hand on hand with large bots, your bot will grow its server count just as they do! And you don't need to do the hard lifting of developing similar features just to be "on par" with other bots. Make your bot unique, and leave the economy to us!
And a BONUS: Educating - By giving a taste of investment with gains and losses, Discoin will teach users basic concepts of saving that will benefit them in real life!
We accept verified bots with more than 250 servers.
Apply for an API key by asking us .
Once approved, we'll discuss with you and determine an exchange rate.
Implement Discoin into your bot.
The initial exchange rate is calculated through the daily gain of an average user. Over time, the rate and limit can be adjusted, and it is recommended for bot owners to collect statistics over their bot economies.
A central API is used so that each participating bot can send and receive requests to process transactions.
Let's say a user wants to exchange A bot currency to B bot currency.
The user requests exchanging on A bot
API converts the currency and creates a transaction waiting for B bot to pick up.
The user is notified by B bot indicates that the transaction has been finished.
In the API, A bot indicates that a transaction has been started.
B bot , , and finishes the transaction.
So you need 2 parts: A command to initiate a transaction, and a module (cron job) to process incoming transactions. Of course, should you want to create a command to show real time exchange rates, We also have libraries to assist you...
Key endpoints are listed here. If you want to look at the entire API specs, go to .