updated start scripts

This commit is contained in:
2022-01-27 20:43:51 -06:00
parent f6adafe735
commit 4f696e8b21
5 changed files with 7 additions and 3 deletions

1
dist/index.js vendored
View File

@@ -34,6 +34,7 @@ const api_1 = require("./api");
const discord_1 = require("./discord");
const queue_1 = require("./queue");
const CLIENT = new discord_js_1.Client({ intents: [discord_js_1.Intents.FLAGS.GUILDS] });
console.log(new Date().toISOString() + '\n\n');
if (!fs.existsSync('./token')) {
fs.writeFileSync('./token', '');
console.error('Missing Discord Token, please enter the bot token into the token file');