Skip to content

Commit

Permalink
Update import path, correct env variable name in README
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Best-Codes committed Oct 31, 2024
1 parent 5c67e62 commit 157f2fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/tokenTest.js
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 157f2fd

Please sign in to comment.