From 157f2fd4944ab670ebe4442ae315ba0a9c43a64c Mon Sep 17 00:00:00 2001 From: The-Best-Codes Date: Thu, 31 Oct 2024 15:25:21 -0500 Subject: [PATCH] Update import path, correct env variable name in README --- README.md | 2 +- package.json | 2 +- scripts/tokenTest.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7fd0b50..2f47914 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Ensure that you have built the project before starting it in production mode. 2. Create a `.env` file with your bot token: ``` - TOKEN=your_bot_token_here + BOT_TOKEN=your_bot_token_here CLIENT_ID=your_client_id_here ``` diff --git a/package.json b/package.json index 48d6141..4d05ecb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "discraft", - "version": "1.4.5", + "version": "1.4.6", "description": "Best framework for discord bots", "main": "index.js", "type": "module", diff --git a/scripts/tokenTest.js b/scripts/tokenTest.js index d9321fc..919e7f1 100644 --- a/scripts/tokenTest.js +++ b/scripts/tokenTest.js @@ -1,6 +1,6 @@ /* eslint-disable promise/always-return */ import { Client } from 'discord.js'; -import { error, success } from '../common/utils/logger'; +import { error, success } from '../common/utils/logger.js'; const token = process.env.BOT_TOKEN;