ref: replace by default node module

This commit is contained in:
M1000fr 2024-09-16 15:24:53 +02:00
parent a1a6af4025
commit ef39629081
2 changed files with 1 additions and 2 deletions

View File

@ -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";

View File

@ -1 +0,0 @@
export const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms));