Skip to content

Commit

Permalink
lint: consistently use node protocol in imports
Browse files Browse the repository at this point in the history
  • Loading branch information
0t4u committed Nov 4, 2024
1 parent 2f2cacd commit 161b54c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/guild/Connection.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
3 changes: 1 addition & 2 deletions src/node/Node.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down

0 comments on commit 161b54c

Please sign in to comment.