mirror of
https://github.com/sern-handler/handler
synced 2026-06-06 01:16:55 +00:00
Merge branch 'main' of https://github.com/EvolutionX-10/Sern
This commit is contained in:
@@ -2,7 +2,7 @@ import dayJS from 'dayjs';
|
||||
import Timezone from 'dayjs/plugin/timezone';
|
||||
import UTC from 'dayjs/plugin/timezone';
|
||||
|
||||
enum sEvent {
|
||||
enum sEvent {
|
||||
GLOBAL_SLASH,
|
||||
LOCAL_SLASH,
|
||||
DM,
|
||||
@@ -11,7 +11,9 @@ enum sEvent {
|
||||
}
|
||||
|
||||
export default class Logger {
|
||||
|
||||
|
||||
public clear() { console.clear() }
|
||||
|
||||
public log<T extends sEvent>(e : T, message: string) {
|
||||
dayJS.extend(UTC);
|
||||
dayJS.extend(Timezone);
|
||||
|
||||
Reference in New Issue
Block a user