ref: replace by default node module
This commit is contained in:
parent
a1a6af4025
commit
ef39629081
@ -3,7 +3,7 @@ import moment from "moment";
|
||||
import fs from "node:fs/promises";
|
||||
import { deleteMessage } from "service/axios";
|
||||
import { getUserIdFromToken } from "utils/discordId";
|
||||
import { wait } from "utils/wait";
|
||||
import { setTimeout as wait } from "node:timers/promises";
|
||||
import { ChannelData } from "./interfaces/channelData";
|
||||
import { MessageData } from "./interfaces/messageData";
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
export const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));
|
Loading…
Reference in New Issue
Block a user