UNPKG

health-set.js

Version:

a npm package for umm... idk, ok this is actully serious this package is for setting things like health or responses for bots,video game bots

30 lines (27 loc) 540 B
class character { constructor(name, health, age, responses, name_responses) { this.name = name; this.health = health; this.age = age; this.responses = responses; this.name_responses = name_responses; } } function sayHello_c(user){ return 'hello ' + user } function enter_req(){ return 'connecting' return 'user has sucsessfully connected' } function erroreq(){ return 'connecting' return 'user failed to connect' } sayHello_c(character.name_responses) module.exports = { erroreq, enter_req, sayHello_c, character, }