Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

Commit f577849

Browse files
committed
i forgor to make it work
1 parent 8f96750 commit f577849

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Collection } from "@discordjs/collection";
22
import fs from "fs"
33
import path from "path"
4+
require("dotenv").config()
45

56
// Require the necessary discord.js classes
67
const { Client, GatewayIntentBits } = require('discord.js');
@@ -26,4 +27,4 @@ client.once('ready', () => {
2627
});
2728

2829
// Login to Discord with your client's token
29-
client.login(process.env['TOKEN']);
30+
client.login(process.env.TOKEN);

0 commit comments

Comments
 (0)