Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -20,12 +20,6 @@ require('dotenv').config();
|
|
| 20 |
const ultimateFix = require('./ultimate_fix'); // High priority fix
|
| 21 |
const networkFix = require('./network_fix');
|
| 22 |
|
| 23 |
-
try {
|
| 24 |
-
require('./bot2.js');
|
| 25 |
-
} catch (e) {
|
| 26 |
-
console.error("Failed to load bot2.js:", e);
|
| 27 |
-
}
|
| 28 |
-
|
| 29 |
const { Client, GatewayIntentBits, Partials, Collection, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, StringSelectMenuBuilder, UserSelectMenuBuilder, ChannelSelectMenuBuilder, ModalBuilder, TextInputBuilder, TextInputStyle, ComponentType, MessageFlags, ChannelType } = require('discord.js');
|
| 30 |
console.log(">>> [BOOT] Discord.js loaded.");
|
| 31 |
console.log(">>> [BOOT] Loading Storage...");
|
|
|
|
| 20 |
const ultimateFix = require('./ultimate_fix'); // High priority fix
|
| 21 |
const networkFix = require('./network_fix');
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
const { Client, GatewayIntentBits, Partials, Collection, EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle, StringSelectMenuBuilder, UserSelectMenuBuilder, ChannelSelectMenuBuilder, ModalBuilder, TextInputBuilder, TextInputStyle, ComponentType, MessageFlags, ChannelType } = require('discord.js');
|
| 24 |
console.log(">>> [BOOT] Discord.js loaded.");
|
| 25 |
console.log(">>> [BOOT] Loading Storage...");
|