diff --git a/src/events/ready.ts b/src/events/ready.ts index e9e36a6..7263dcf 100644 --- a/src/events/ready.ts +++ b/src/events/ready.ts @@ -16,7 +16,7 @@ export default class ReadyEvent { await client.application?.commands.fetch({ withLocalizations: true }); await loadActiveReminders(client); - const { sendDeploymentNotification } = await import('@/utils/sendDeploymentNotification'); + const { sendDeploymentNotification } = await import('../utils/sendDeploymentNotification.js'); await sendDeploymentNotification(this.startTime); } catch (error) { logger.error('Error during ready event:', error); diff --git a/src/index.ts b/src/index.ts index 3ffc475..d3307f4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -123,7 +123,7 @@ setInterval( const server = app.listen(PORT, async () => { logger.debug('Aethel is live on', `http://localhost:${PORT}`); - const { sendDeploymentNotification } = await import('./utils/sendDeploymentNotification'); + const { sendDeploymentNotification } = await import('./utils/sendDeploymentNotification.js'); await sendDeploymentNotification(startTime); });