Add npm test

This commit is contained in:
Noah committed 2021-12-04 21:25:02 -06:00
1 parent 873cfc7dc2
commit 8096e5b882
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -116,8 +116,7 @@ class Client extends Discord.Client {
console.log(`\u001b[34;1m`, "▬▬▬▬▬▬▬ Events ▬▬▬▬▬▬▬");
console.log(" ");
console.log(process.title);
if (process.title != "npm test") {
if (process.argv[0] != "test") {
this.login(token);
} else {
console.log(