permanent-waves/discordeno-audio-plugin/utils/wait.ts
alexandra-love b7d78405ce
Update discordeno-audio-plugin, fix a bug where the web socket was dropping (#1)
* update discordeno-audio-plugin

* rename discordeno-audio-plugin-main folder to discordeno-audio-plugin
2023-01-11 15:32:17 -06:00

6 lines
118 B
TypeScript

export function wait(time: number) {
return new Promise<void>((resolve) => {
setTimeout(resolve, time);
});
}