Connecting To The Database
AddItem
Add an item to a user. GuildID is not needed for global use.
AddItem({ GuildID: "881789379553656872", ItemName: "very expensive pancakes", Price: 10000, SellPrice: 1000 })
AddMoney
Add money to an user. GuildID is not needed for global use.
AddMoney({ GuildID: "881789379553656872", UserID: "753974636508741673" })
BuyItem
Buy an item to a user. GuildID is not needed for global use.
BuyItem({ GuildID: "881789379553656872", ItemName: "very expensive pancakes", UserID: "753974636508741673" })
Daily
Collect the daily amount for an user. GuildID is not needed for global use.
Daily({ GuildID: "881789379553656872", UserID: "753974636508741673" })
Deposit
Deposit money to an bank. GuildID is not needed for global use.
Deposit({ GuildID: "881789379553656872", Amt: 10, UserID: "753974636508741673" })
GetBal
Get an balance of an user. GuildID is not needed for global use.
GetBal({ GuildID: "881789379553656872", UserID: "753974636508741673" })
GetBankBal
Get bank balance of an user. GuildID is not needed for global use.
GetBankBal({ GuildID: "881789379553656872", UserID: "753974636508741673" })
GetInv
Get an inventory of an user. GuildID is not needed for global use.
GetInv({ GuildID: "881789379553656872", UserID: "753974636508741673" })
GetItem
Get an item data. GuildID is not needed for global use.
GetItem({ GuildID: "881789379553656872", Item: "pancakes" })
GetProfile
Get a profile data of an user. GuildID is not needed for global use.
GetProfile({ GuildID: "881789379553656872", UserID: "753974636508741673" })
RemoveMoney
Get the richest people. GuildID is not needed for global use.
GetRich({ GuildID: "881789379553656872" })
GetShop
Get shop items. GuildID is not needed for global use.
GetShop({ GuildID: "881789379553656872" })
Get an user data of an user. GuildID is not needed for global use.
ReassignJob
Reassign a job. GuildID is not needed for global use.
GetShop({ GuildID: "881789379553656872", UserID: "753974636508741673", Job: "Doctor" })
RemoveItem
Remove an item from the shop.
RemoveItem({ GuildID: "881789379553656872", Item: "car" })
RemoveJob
Remove a job. GuildID is not needed for global use.
RemoveJob({ GuildID: "881789379553656872", userId: "753974636508741673"})
Remove money to an user. GuildID is not needed for global use.
AddMoney({ GuildID: "881789379553656872", UserID: "753974636508741673", Amt: 1000 })
SellItem
Sell an item. GuildID is not needed for global use.
SellItem({ GuildID: "881789379553656872", ItemName: "very expensive pancakes", user: "753974636508741673" })
SetDaily
Set a daily amount for a guild or global.
SetDaily({ GuildID: "881789379553656872", Amt: 10000 })
SetJob
Set a job. GuildID is not needed for global use.
SetJob({ GuildID: "881789379553656872", UserID: "753974636508741673", Job: "gamer"})
SetWeekly
Set a weekly amount for a guild or global.
SetWeekly({ GuildID: "881789379553656872", Amt: 10000 })
Transfer
Transfer money over 2 people. GuildID property is not needed for global use.
Transfer({ GuildID: "881789379553656872", Amt: 10000, User1ID: "777474453114191882", User2ID: "753974636508741673" })
Weekly
Collect the weekly amount for an user. GuildID is not needed for global use.
Withdraw
Withdraw money from a bank. GuildID is not needed for global use.
Withdraw({ GuildID: "881789379553656872", Amt: 10, UserID: "753974636508741673" })
Work
Work for an user. GuildID is not needed for global use.
Work({ GuildID: "881789379553656872", UserID: "753974636508741673" })
Generated using TypeDoc
Connecting To The Database