Comments (3)
@aiko-chan-ai Hi, hope I can get your help 🥹🥹
How to catch all errors
How to safely destroy instances
from discord.js-selfbot-v13.
What I normally do is throw the following code into another file and then in my index.js call it like require("./antiCrash.js")();
module.exports = () => {
process.on('unhandledRejection', (reason, p) => {
console.log(' [Anti Crash] :: Unhandled Rejeciton/Catch');
console.log(reason, p)
})
process.on('uncaughtException', (e, o) => {
console.log(' [Anti Crash] :: Uncaught Exception/Catch');
console.log(e, o)
})
process.on('uncaughtExceptionMonitor', (err, origin) => {
console.log(' [AntiCrash] :: Uncaught Exception/Catch (MONITOR)');
console.log(err, origin);
});
process.on('multipleResolves', (type, promise, reason) => {
console.log(' [AntiCrash] :: Multiple Resolves');
console.log(type, promise, reason);
});
}
But when you use the throw keyword it kills the node process
from discord.js-selfbot-v13.
Related Issues (20)
- The ability to send Voice Mails and not just audio files HOT 5
- Uncaught HTTPError Error: CAPTCHA_SOLVER_NOT_IMPLEMENTED While sending messages in non direct message channels HOT 5
- Error: Output formats h264, s16le are not available
- Only the first button is being clicked using message.clickButton HOT 3
- captcha solver 'you need to update your app to perform this action' HOT 1
- TypeScript SpotifyRPC Start And End TimeStamp Type Error HOT 1
- Error: INTERACTION_TIMEOUT
- Forum Thread Post Creation "Cannot access 'data' before initialization" HOT 1
- Selfbot: Is it possible to get all of a guild's threads? HOT 3
- help me HOT 2
- Cant create a MessageButton HOT 3
- No message :v HOT 2
- Get User by ID HOT 3
- Error 40003 - You are opening direct messages too fast HOT 3
- Creating poll/Submit answer HOT 2
- Where did the syncStatus ClientOption go? HOT 1
- DiscordAPIError: Invalid Form Body crash HOT 1
- Community Discord
- Missing Permissions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js-selfbot-v13.