fix some imports/exports
This commit is contained in:
parent
167956785f
commit
0cb637d81b
|
@ -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