fix some imports/exports

This commit is contained in:
Hri7566 2022-07-09 00:25:42 -04:00
parent 74f7985e7b
commit 6adfa121d6
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,7 @@ const RateLimit = require('./Ratelimit.js').RateLimit;
const RateLimitChain = require('./Ratelimit.js').RateLimitChain; const RateLimitChain = require('./Ratelimit.js').RateLimitChain;
const User = require("./User.js"); const User = require("./User.js");
const Database = require("./Database.js"); const Database = require("./Database.js");
const { EventEmitter } = require('events');
class Client extends EventEmitter { class Client extends EventEmitter {
constructor(ws, req, server) { constructor(ws, req, server) {

View File

@ -13,4 +13,8 @@ function intToRGB(i){
return "00000".substring(0, 6 - c.length) + c; return "00000".substring(0, 6 - c.length) + c;
} }
module.exports = {hashCode, intToRGB};
module.exports = {
hashCode,
intToRGB
}