fix some imports/exports

This commit is contained in:
Hri7566 2022-07-09 00:25:42 -04:00
parent 167956785f
commit 0cb637d81b
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
}