Open mrssine opened 1 year ago
Discord.js version?
discord.js v14?
it needs to be discord.js V13 for it to properly work
use npm install discord.js@13
Bot is outdated, wouldn't recommend using it. Find a newer/better one on github.
Bot is outdated, wouldn't recommend using it. Find a newer/better one on github.
Actually no its not outdated
`/**
/**
/**
${config.status.text}
.replace("{prefix}", config.prefix), type: config.status.type, url: config.status.url }], status: "online" } });/**
/**
${lang.split(".json").join("")}
] = require(./languages/${lang}
) } Object.freeze(client.la) //function "handlemsg(txt, options? = {})" is in /handlers/functions/**
/**
/**
@param {8} LOAD_the_BOT_Functions *****/ //those are must haves, they load the dbs, events and commands and important other stuff function requirehandlers() { ["extraevents", "clientvariables", "command", "loaddb", "events", "erelahandler", "slashCommands"].forEach(handler => { try { require(
./handlers/${handler}
)(client); } catch (e) { console.log(e.stack ? String(e.stack).grey : String(e).grey) } }); ["twitterfeed", /"twitterfeed2",/ "livelog", "youtube", "tiktok"].forEach(handler => { try { require(./social_log/${handler}
)(client); } catch (e) { console.log(e.stack ? String(e.stack).grey : String(e).grey) } }); ["logger", "anti_nuke", "antidiscord", "antilinks", "anticaps", "antispam", "blacklist", "keyword", "antimention", "autobackup","apply", "ticket", "ticketevent", "roster", "joinvc", "epicgamesverification", "boostlog",
"welcome", "leave", "ghost_ping_detector", "antiselfbot",
"jointocreate", "reactionrole", "ranking", "timedmessages",
"membercount", "autoembed", "suggest", "validcode", "dailyfact", "autonsfw", "aichat", "mute", "automeme", "counter"].forEach(handler => { try { require(
./handlers/${handler}
)(client); } catch (e) { console.log(e.stack ? String(e.stack).grey : String(e).grey) } }); } requirehandlers();/**
/**
@INFO *****/`
ERROR /