Comparing version 4.8.3 to 4.9.0
@@ -11,2 +11,3 @@ /** @format */ | ||
local: string; | ||
ceaseless: boolean; | ||
global?: boolean | undefined; | ||
@@ -13,0 +14,0 @@ permissions?: { |
@@ -21,2 +21,3 @@ /** @format */ | ||
ownerId: z.string().or(z.array(z.string())).default([]), | ||
ceaseless: z.boolean().default(false), | ||
permissions: z | ||
@@ -92,2 +93,7 @@ .object({ | ||
deploy(this); | ||
if (this.settings.ceaseless) { | ||
process.on('unhandledRejection', (error) => { | ||
new XernerxLog(this).error('An uncaught error happpened, this is triggered from the ceaseless setting.', error); | ||
}); | ||
} | ||
new XernerxLog(this).ready(); | ||
@@ -94,0 +100,0 @@ return login; |
@@ -17,2 +17,3 @@ /** @format */ | ||
ownerId?: string | Array<string>; | ||
ceaseless?: boolean; | ||
permissions?: { | ||
@@ -19,0 +20,0 @@ user?: Array<PermissionNames> | Array<string> | null; |
{ | ||
"name": "xernerx", | ||
"version": "4.8.3", | ||
"version": "4.9.0", | ||
"description": "A bot framework for discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "dist/main.js", |
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
144169
3192