williamslicensemanager

0.0.5 • Public • Published

William's Licensing Service

Williams's Licensing Service is a node module created by WilliamD#3525. It was first made for my bot, then I desided to allow others to use this service I created.

William's Licensing Service allows you to manage your customers licenses for your discord bot. If you want to sell your discord bot for use and don't want people using it unless they buy, you can use my service to manage your customers licenses through your Trello board.

Example Use

    const license = require('williamslicensemanager');
    var link = ''; // Put your trello API link there <<<

Ensure that code is outside of any events!

How to get the Trello Link

Remember, you cannot use the normal trello link! In order to get the API link, you first must go to https://trello.com/app-key. Then go to https://trello.com/1/token/approve. The first link will give you your KEY. Paste the key into the link below where it says APIKEY. The next link will give you your TOKEN. Copy the token and paste it in that link below where it says TOKEN. Lastly, on the trello board itself, copy the number in URL and paste it in BOARDID below. Your final link should look like below, expect BOARDID, APIKEY, and TOKEN, should be yours. https://api.trello.com/1/boards/BOARDID?fields=name,url&key=APIKEY&token=TOKEN&cards=all When you have the final link, paste it in the link variable.

Final Setup

Now that all the hard work is done, go inside your client.ready event. Inside there add license.checkTrello(link), and in your guild.create event, add license.newGuild(link)

Support?

For any support, contact WilliamD#3525 on discord.

Changelog

0.0.4 - Fixed major issue with Trello, added strict copyright

Package Sidebar

Install

npm i williamslicensemanager

Weekly Downloads

1

Version

0.0.5

License

none

Unpacked Size

4.09 kB

Total Files

3

Last publish

Collaborators

  • williamd26