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;