discord.js-els
v1.1.3
Published
This is a Discord.js V12 package to create a hunger, thirst and health system used in the Discord bot Eco Life
Downloads
25
Readme
Documentation
This package was made by Luke : Lion Luke.#8092 on Discord For support go to discord.gg/javascript If you are using this package in your Discord bot, make sure to credit the author of this package. Do not re-upload this package under your own name! This system is used and made for the Discord bot Eco Life.
In order to use this package: Installing:
npm i discord.js-els
The code:
const els = require('discord.js-els');
els.Function(msg, msg.author.id, '5', 'users');
// msg = Message object;
// msg.author.id = the user ID of the message author;
// '5' = the amount of health, hunger and thirst you want to go down;
// 'users' = the name of your database name in Enmap;