1.0.0 • Published 4 years ago

twen.js v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

What is this to for?

I use this for twen discord bot to access the • Points • Prefixes

Installation

npm i twen.js --save

For example to use it

const twen = require("twen.js");
//key is only available for support or owner to access it

const key = "Like i said";
const ID = "Discord User ID";
const guildID = "Discord Server ID";
const defpre = "To use as Default of Prefix Bot";

twen.points (ID, key).then (console.log);

/*Output:
{ user: { points: 12948, level: 10, isLevelUp: false }, status: "OK"}
*/

twen.prefixes (ID, defpre, key).then (console.log);

/*Output:
{ guild: { prefix: "t.", isChange: false }, status: "OK"}
*/

Important

This is not for you want to use.. Because u didnt get the key to access it.. Only can use: • Owner • Support