summary refs log tree commit diff
path: root/util/src
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-21 23:13:31 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-09-21 23:13:31 +0200
commitb3f8df560af34ba6904821eea684be8ccef14c9d (patch)
tree6e426481cf46dbb84aa626e46064c4ca44b92ac1 /util/src
parent:sparkles: generate openapi documentation (diff)
downloadserver-b3f8df560af34ba6904821eea684be8ccef14c9d.tar.xz
:sparkles: unit tests expect event
Diffstat (limited to 'util/src')
-rw-r--r--util/src/util/Event.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/src/util/Event.ts b/util/src/util/Event.ts
index 765e5fc7..bf9547b1 100644
--- a/util/src/util/Event.ts
+++ b/util/src/util/Event.ts
@@ -2,7 +2,7 @@ import { Channel } from "amqplib";
 import { RabbitMQ } from "./RabbitMQ";
 import EventEmitter from "events";
 import { EVENT, Event } from "../interfaces";
-const events = new EventEmitter();
+export const events = new EventEmitter();
 
 export async function emitEvent(payload: Omit<Event, "created_at">) {
 	const id = (payload.channel_id || payload.user_id || payload.guild_id) as string;