discord-vardb
v1.5.7
Published
Imagine a module, that allows to you create vars in discord.js...
Downloads
107
Maintainers
Readme
News:
Errors fixed
About "module owner":
Hello, im zet! zet = zett(jett from VALORANT). I'm developing some modules and i want to earn money, if you loved my modules, dont forget to share and put me into credits please ^^
Download:
npm i discordb
Setup Code:
const { Required, UpdatedVariableFuncs } = require("discordb")
//The custom vars bla bla bla is not deprecated, you can use them but use UpdatedVariableFuncs better.
//If you know to use classes, you can put your code right here
Credits:
Everything: zet.dev
Functions:
this.create(name, value, id), //Creates value
this.get(name, categoryID), //Gets variable's value
this.add(number, name, id), //If variable's value is number, adds to name from id and returns it. Attention! not sets the value.
this.have(name, id), //Returns true if the variable is exist, returns false if the variable doesnt exist.
this.deleteAll(), //Deletes every var(deletes file)
this.typeof(name, id), //Returns type of variable name
this.reset(name, id) //For numbers, if the variable's value a number, makes him zero.
this.math(mathnumber1, "condition", mathnumber2, name, id) //Returns the math process answer. Attention! Not sets the value.
//Math doesnt work.
// If you know to code, you can understand how to do like resetting and deleting var proccesses.