1.0.3 • Published 4 years ago

@feehgamer/discord-economy v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Install

npm install @feehgamer/economy-discord --save

Usage

const economy = require("@feehgamer/discord-economy")

//Add To Wallet Syntax
economy.wallet.add(<User ID>, <Amount>);
//Add To Wallet Example
economy.wallet.add(385129957086461954, 1000);

//Remove From Wallet Syntax
economy.wallet.remove(<User ID>, <Amount>);
//Remove From Wallet Example
economy.wallet.remove(385129957086461954, 1000);

//Set Wallet Syntax
economy.wallet.set(<User ID>, <Amount>);
//Set Example
economy.wallet.set(385129957086461954, 1000);

//Get Wallet Syntax
economy.wallet.get(<User ID>);
//Get Wallet Example
economy.wallet.get(385129957086461954);
//output: 1000

//Add To Bank Syntax
economy.bank.add(<User ID>, <Amount>);
//Add To Bank Example
economy.bank.add(385129957086461954, 1000);

//Remove From Bank Syntax
economy.bank.remove(<User ID>, <Amount>);
//Remove From Bank Example
economy.bank.remove(385129957086461954, 1000);

//Set Bank Syntax
economy.bank.set(<User ID>, <Amount>);
//Set Bank Example
economy.bank.set(385129957086461954, 1000);

//Get Bank Syntax
economy.bank.get(<User ID>)
//Get Bank Example
economy.bank.get(385129957086461954);
//output: 1000
1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago