From 161b54c6c76d64848e59cad53794462ad3ee8ad0 Mon Sep 17 00:00:00 2001 From: 0t4u <61939142+0t4u@users.noreply.github.com> Date: Mon, 4 Nov 2024 12:37:26 +0000 Subject: [PATCH] lint: consistently use node protocol in imports --- src/guild/Connection.ts | 2 +- src/node/Node.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/guild/Connection.ts b/src/guild/Connection.ts index b7271689..b0517d70 100644 --- a/src/guild/Connection.ts +++ b/src/guild/Connection.ts @@ -1,4 +1,4 @@ -import { EventEmitter, once } from 'events'; +import { EventEmitter, once } from 'node:events'; // eslint-disable-next-line import-x/no-cycle import { State, VoiceState } from '../Constants'; import { Shoukaku, VoiceChannelOptions } from '../Shoukaku'; diff --git a/src/node/Node.ts b/src/node/Node.ts index fa3130db..6e7f47e3 100644 --- a/src/node/Node.ts +++ b/src/node/Node.ts @@ -1,5 +1,4 @@ -import { IncomingMessage } from 'http'; - +import { IncomingMessage } from 'node:http'; import Websocket from 'ws'; // eslint-disable-next-line import-x/no-cycle import { OpCodes, ShoukakuClientInfo, State, Versions } from '../Constants';