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

View File

@@ -6,6 +6,8 @@ import { registerCommands } from './discord';
import { createQueue, joinQueue, queueInfo } from './queue';
const CLIENT = new Client({ intents: [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');