Files
BattleBot/index.js
2024-11-07 17:28:00 -06:00

9 lines
218 B
JavaScript

// index.js
require('dotenv').config();
const Bot = require('./src/Bot');
const bot = new Bot();
bot.start(process.env.BOT_TOKEN).catch(error => {
console.error('Failed to start bot:', error);
process.exit(1);
});