summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-22 08:21:32 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-22 08:21:32 +0100
commit5a505f331a6e6ae5cb90c3e89bdcfce32ea758c4 (patch)
tree8f8a107cae4a7eb3be8fc29a028d62af53de91ae /src/util
parent:bug: fix @everyone Role on guild create (diff)
downloadserver-5a505f331a6e6ae5cb90c3e89bdcfce32ea758c4.tar.xz
:bug: fix Event Emitter
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Event.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/Event.ts b/src/util/Event.ts

index c75c909f..39389cbb 100644 --- a/src/util/Event.ts +++ b/src/util/Event.ts
@@ -2,7 +2,7 @@ import { Event, EventModel } from "fosscord-server-util"; export async function emitEvent(payload: Omit<Event, "created_at">) { const emitEvent = { - created_at: Math.floor(Date.now() / 1000), // in seconds + created_at: new Date(), // in seconds ...payload, };