style: require file extensions in file imports (#10724)

This commit is contained in:
Almeida
2025-01-24 10:17:02 +00:00
committed by GitHub
parent db3cb48246
commit bbec50b134
266 changed files with 1016 additions and 1011 deletions

View File

@@ -1,5 +1,6 @@
'use strict';
const { Buffer } = require('node:buffer');
const fs = require('node:fs');
const path = require('node:path');
const { setTimeout: sleep } = require('node:timers/promises');
@@ -7,7 +8,7 @@ const util = require('node:util');
const { GatewayIntentBits } = require('discord-api-types/v10');
const { fetch } = require('undici');
const { owner, token, webhookChannel, webhookToken } = require('./auth.js');
const { Client, MessageAttachment, Embed, WebhookClient } = require('../src');
const { Client, MessageAttachment, Embed, WebhookClient } = require('../src/index.js');
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages] });