Skip to content

Commit 4712fe1

Browse files
authored
Update index.js
forgot to declare packageinfo
1 parent 2ab1375 commit 4712fe1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ const init = async () => {
135135

136136
// This logs a message to the console once the bot has successfully logged in.
137137
client.once(Events.ClientReady, c => {
138+
const packageinfo = require("./package.json");
138139
const dversion = packageinfo.version;
139140
const name = packageinfo.name;
140141
console.log(`Ready! Logged in as ${c.user.tag}`);

0 commit comments

Comments
 (0)