forked from Hri7566/mpp-server-dev2
fix some imports/exports
This commit is contained in:
parent
74f7985e7b
commit
6adfa121d6
|
@ -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) {
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue