Comparing version 1.0.3 to 1.0.4
@@ -1,1 +0,1 @@ | ||
{"nonce":8669868190284562109,"last_updated":{"seconds":1682885332,"nanos":262447000}} | ||
{"nonce":7516623245751173462,"last_updated":{"seconds":1682886887,"nanos":615780000}} |
@@ -1,1 +0,1 @@ | ||
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"257bee97dfb75d13700a54a2242fc134","lockfileHash":"b2ab5f8a8ec626e9fbfd859883f13155"}}} | ||
{"version":2,"languages":{"nodejs-npm":{"specfileHash":"f1dc8e77fd552d429a501b51f4a5a683","lockfileHash":"809535f1c29adfe345d1cc389eac8564","guessedImports":["colors"],"guessedImportsHash":"7a3eb6787bcf1ceb166f4ba231bcaf43"}}} |
const { EventEmitter } = require(`events`); | ||
require("./autokill") | ||
const colors = require(`colors`); | ||
@@ -26,3 +27,3 @@ class antiCrash extends EventEmitter { | ||
async function catching() { | ||
console.log(`> [anticrash] : [discord-anticrash] is now preventing bot termination.`.blue) | ||
console.log(`> [anticrash] : [anticrash] is now preventing bot termination.`.blue) | ||
process.on(`unhandledRejection`, (reason, p) => { | ||
@@ -29,0 +30,0 @@ console.log(`> [anticrash] : Unhandled Rejection/Catch`.red); |
{ | ||
"name": "anticrash", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -68,6 +68,19 @@ # discord-anticrash | ||
``` | ||
# Install | ||
```shell | ||
$ npm i anticrash | ||
``` | ||
## Example Code | ||
```javascript | ||
const client = new Discord.Client({ intents: [Intents] }); | ||
const { ReplitKill } = require('anticrash'); | ||
ReplitKill({ Client: client, Time: 5000 }); | ||
``` | ||
#### New Updates | ||
- 1.0.3 | ||
- 1.0.4 | ||
- Added more Badges to the README | ||
- Added this section you are currently reading |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14782
12
65
86