simple anti-crash for your discord.js v13 & v14 bot
- add anti-crash.js in your events Folder
- make a channel for only anti-crash stuff & make a new webhook in this channel
- copy webhook url
- paste webhook id & token in the anti-crash file
- add
require("./Structures/Handlers/Anti-Crash")(client);
into your index- or main.js