From 31a732687ba90836810fba69bdd1f8cb8673cfdf Mon Sep 17 00:00:00 2001 From: suhas Date: Sun, 12 Mar 2023 23:48:42 -0500 Subject: [PATCH] license --- LICENSE | 8 + err.txt | 1739 ------------------------------------------------------- out.txt | 8 - 3 files changed, 8 insertions(+), 1747 deletions(-) create mode 100644 LICENSE delete mode 100644 err.txt delete mode 100644 out.txt diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..04e0624 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +Copyright © 2023 Suhas + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/err.txt b/err.txt deleted file mode 100644 index 9c3743d..0000000 --- a/err.txt +++ /dev/null @@ -1,1739 +0,0 @@ - 03/12 12:47:35 warn Syncing command permissions has been deprecated and will be removed in the future: https://link.snaz.in/sc-cpd -node:internal/process/promises:289 - triggerUncaughtException(err, true /* fromPromise */); - ^ - -DiscordRESTError [404]: Unknown interaction - at RequestHandler.request (/Users/suhas/code/fl/devnics-trial/node_modules/.pnpm/slash-create@5.11.0_fastify@3.29.5/node_modules/slash-create/lib/util/requestHandler.js:62:15) - at SlashCreatorAPI.interactionCallback (/Users/suhas/code/fl/devnics-trial/node_modules/.pnpm/slash-create@5.11.0_fastify@3.29.5/node_modules/slash-create/lib/api.js:84:45) - at CommandContext._respond (/Users/suhas/code/fl/devnics-trial/node_modules/.pnpm/slash-create@5.11.0_fastify@3.29.5/node_modules/slash-create/lib/creator.js:695:28) - at CommandContext.send (/Users/suhas/code/fl/devnics-trial/node_modules/.pnpm/slash-create@5.11.0_fastify@3.29.5/node_modules/slash-create/lib/structures/interfaces/messageInteraction.js:64:24) - at HelloCommand.finalize (/Users/suhas/code/fl/devnics-trial/node_modules/.pnpm/slash-create@5.11.0_fastify@3.29.5/node_modules/slash-create/lib/command.js:231:24) - at SlashCreator._runCommand (/Users/suhas/code/fl/devnics-trial/node_modules/.pnpm/slash-create@5.11.0_fastify@3.29.5/node_modules/slash-create/lib/creator.js:681:32) - at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { - req: ClientRequest { - _events: [Object: null prototype] { - abort: [Function: bound onceWrapper] { listener: [Function (anonymous)] }, - error: [Function: bound onceWrapper] { listener: [Function (anonymous)] }, - socket: [Function (anonymous)], - timeout: [Function: bound onceWrapper] { listener: [Function (anonymous)] }, - finish: [Function: requestOnFinish] - }, - _eventsCount: 5, - _maxListeners: undefined, - outputData: [], - outputSize: 0, - writable: true, - destroyed: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - maxRequestsOnConnectionReached: false, - _defaultKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: false, - _removedConnection: false, - _removedContLen: false, - _removedTE: false, - strictContentLength: false, - _contentLength: 100, - _hasBody: true, - _trailer: '', - finished: true, - _headerSent: true, - _closed: true, - socket: TLSSocket { - _tlsOptions: { - allowHalfOpen: undefined, - pipe: false, - secureContext: SecureContext { context: SecureContext {} }, - isServer: false, - requestCert: true, - rejectUnauthorized: true, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - ALPNProtocols: undefined, - requestOCSP: undefined, - enableTrace: undefined, - pskCallback: undefined, - highWaterMark: undefined, - onread: undefined, - signal: undefined - }, - _secureEstablished: true, - _securePending: false, - _newSessionPending: false, - _controlReleased: true, - secureConnecting: false, - _SNICallback: null, - servername: 'discord.com', - alpnProtocol: false, - authorized: true, - authorizationError: null, - encrypted: true, - _events: [Object: null prototype] { - close: [ - [Function: onSocketCloseDestroySSL], - [Function: bound onceWrapper] { - listener: [Function (anonymous)] - }, - [Function: onClose] - ], - end: [Function: onReadableStreamEnd], - newListener: [Function: keylogNewListener], - secure: [Function: onConnectSecure], - session: [Function (anonymous)], - free: [Function: onFree], - timeout: [Function: onTimeout], - agentRemove: [Function: onRemove], - error: [Function: bound onceWrapper] { - listener: [Function: freeSocketErrorListener] - } - }, - _eventsCount: 9, - connecting: false, - _hadError: false, - _parent: null, - _host: 'discord.com', - _closeAfterHandlingError: false, - _readableState: ReadableState { - objectMode: false, - highWaterMark: 16384, - buffer: BufferList { head: null, tail: null, length: 0 }, - length: 0, - pipes: [], - flowing: true, - ended: false, - endEmitted: false, - reading: true, - constructed: true, - sync: false, - needReadable: true, - emittedReadable: false, - readableListening: false, - resumeScheduled: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - destroyed: false, - errored: null, - closed: false, - closeEmitted: false, - defaultEncoding: 'utf8', - awaitDrainWriters: null, - multiAwaitDrain: false, - readingMore: false, - dataEmitted: true, - decoder: null, - encoding: null, - [Symbol(kPaused)]: false - }, - _maxListeners: undefined, - _writableState: WritableState { - objectMode: false, - highWaterMark: 16384, - finalCalled: false, - needDrain: false, - ending: false, - ended: false, - finished: false, - destroyed: false, - decodeStrings: false, - defaultEncoding: 'utf8', - length: 0, - writing: false, - corked: 0, - sync: false, - bufferProcessing: false, - onwrite: [Function: bound onwrite], - writecb: null, - writelen: 0, - afterWriteTickInfo: null, - buffered: [], - bufferedIndex: 0, - allBuffers: true, - allNoop: true, - pendingcb: 0, - constructed: true, - prefinished: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - errored: null, - closed: false, - closeEmitted: false, - [Symbol(kOnFinished)]: [] - }, - allowHalfOpen: false, - _sockname: null, - _pendingData: null, - _pendingEncoding: '', - server: undefined, - _server: null, - ssl: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - _requestCert: true, - _rejectUnauthorized: true, - timeout: 5000, - parser: null, - _httpMessage: null, - [Symbol(res)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(verified)]: true, - [Symbol(pendingSession)]: null, - [Symbol(async_id_symbol)]: -1, - [Symbol(kHandle)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(lastWriteQueueSize)]: 0, - [Symbol(timeout)]: Timeout { - _idleTimeout: 5000, - _idlePrev: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleNext: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleStart: 13318, - _onTimeout: [Function: bound ], - _timerArgs: undefined, - _repeat: null, - _destroyed: false, - [Symbol(refed)]: false, - [Symbol(kHasPrimitive)]: false, - [Symbol(asyncId)]: 145, - [Symbol(triggerId)]: 143 - }, - [Symbol(kBuffer)]: null, - [Symbol(kBufferCb)]: null, - [Symbol(kBufferGen)]: null, - [Symbol(kCapture)]: false, - [Symbol(kSetNoDelay)]: false, - [Symbol(kSetKeepAlive)]: true, - [Symbol(kSetKeepAliveInitialDelay)]: 1, - [Symbol(kBytesRead)]: 0, - [Symbol(kBytesWritten)]: 0, - [Symbol(connect-options)]: { - rejectUnauthorized: true, - ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA', - checkServerIdentity: [Function: checkServerIdentity], - minDHSize: 1024, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - method: 'POST', - host: 'discord.com', - path: null, - headers: { - 'User-Agent': 'DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)', - 'Accept-Encoding': 'gzip,deflate', - 'X-RateLimit-Precision': 'millisecond', - 'Content-Type': 'application/json' - }, - agent: null, - _defaultAgent: Agent { - _events: [Object: null prototype] { - free: [Function (anonymous)], - newListener: [Function: maybeEnableKeylog] - }, - _eventsCount: 2, - _maxListeners: undefined, - defaultPort: 443, - protocol: 'https:', - options: [Object: null prototype] { - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - path: null - }, - requests: [Object: null prototype] {}, - sockets: [Object: null prototype] {}, - freeSockets: [Object: null prototype] { - 'discord.com:443:::::::::::::::::::::': [Array] - }, - keepAliveMsecs: 1000, - keepAlive: true, - maxSockets: Infinity, - maxFreeSockets: 256, - scheduling: 'lifo', - maxTotalSockets: Infinity, - totalSocketCount: 1, - maxCachedSessions: 100, - _sessionCache: { map: [Object], list: [Array] }, - [Symbol(kCapture)]: false - }, - port: 443, - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - servername: 'discord.com', - _agentKey: 'discord.com:443:::::::::::::::::::::', - encoding: null, - keepAliveInitialDelay: 1000 - } - }, - _header: 'POST /api/v10/interactions/1084533210211426316/aW50ZXJhY3Rpb246MTA4NDUzMzIxMDIxMTQyNjMxNjpiUFUxUDdCS2NUSUVtZkpyUjVyc29obzF3V0FlTFVET0gyRFo2bUw3a0dPSE83R05SV21KdGJkQWJDbm1vRFdHRXNpV2N6QXh6NXlpbXVhNk9ON0RoemxZTmVzODlDYkRzUldWZVVyOVc0T1FBQkJCQkRCR1hPbm1oZUxKbjd6Tw/callback HTTP/1.1\r\n' + - 'User-Agent: DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)\r\n' + - 'Accept-Encoding: gzip,deflate\r\n' + - 'X-RateLimit-Precision: millisecond\r\n' + - 'Content-Type: application/json\r\n' + - 'Host: discord.com\r\n' + - 'Connection: keep-alive\r\n' + - 'Content-Length: 100\r\n' + - '\r\n', - _keepAliveTimeout: 0, - _onPendingData: [Function: nop], - agent: Agent { - _events: [Object: null prototype] { - free: [Function (anonymous)], - newListener: [Function: maybeEnableKeylog] - }, - _eventsCount: 2, - _maxListeners: undefined, - defaultPort: 443, - protocol: 'https:', - options: [Object: null prototype] { - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - path: null - }, - requests: [Object: null prototype] {}, - sockets: [Object: null prototype] {}, - freeSockets: [Object: null prototype] { - 'discord.com:443:::::::::::::::::::::': [ - TLSSocket { - _tlsOptions: [Object], - _secureEstablished: true, - _securePending: false, - _newSessionPending: false, - _controlReleased: true, - secureConnecting: false, - _SNICallback: null, - servername: 'discord.com', - alpnProtocol: false, - authorized: true, - authorizationError: null, - encrypted: true, - _events: [Object: null prototype], - _eventsCount: 9, - connecting: false, - _hadError: false, - _parent: null, - _host: 'discord.com', - _closeAfterHandlingError: false, - _readableState: [ReadableState], - _maxListeners: undefined, - _writableState: [WritableState], - allowHalfOpen: false, - _sockname: null, - _pendingData: null, - _pendingEncoding: '', - server: undefined, - _server: null, - ssl: [TLSWrap], - _requestCert: true, - _rejectUnauthorized: true, - timeout: 5000, - parser: null, - _httpMessage: null, - [Symbol(res)]: [TLSWrap], - [Symbol(verified)]: true, - [Symbol(pendingSession)]: null, - [Symbol(async_id_symbol)]: -1, - [Symbol(kHandle)]: [TLSWrap], - [Symbol(lastWriteQueueSize)]: 0, - [Symbol(timeout)]: [Timeout], - [Symbol(kBuffer)]: null, - [Symbol(kBufferCb)]: null, - [Symbol(kBufferGen)]: null, - [Symbol(kCapture)]: false, - [Symbol(kSetNoDelay)]: false, - [Symbol(kSetKeepAlive)]: true, - [Symbol(kSetKeepAliveInitialDelay)]: 1, - [Symbol(kBytesRead)]: 0, - [Symbol(kBytesWritten)]: 0, - [Symbol(connect-options)]: [Object] - } - ] - }, - keepAliveMsecs: 1000, - keepAlive: true, - maxSockets: Infinity, - maxFreeSockets: 256, - scheduling: 'lifo', - maxTotalSockets: Infinity, - totalSocketCount: 1, - maxCachedSessions: 100, - _sessionCache: { - map: { - 'discord.com:443:::::::::::::::::::::': Buffer(1707) [Uint8Array] [ - 48, 130, 6, 167, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 94, 207, 55, 41, 198, 240, 46, - 130, 106, 129, 98, 129, 210, 142, 244, 61, 40, 223, 83, - 17, 162, 147, 78, 66, 9, 244, 65, 114, 46, 105, 100, - 236, 4, 48, 245, 15, 215, 107, 207, 77, 22, 152, 10, - 172, 237, 80, 39, 157, 126, 97, 131, 112, 230, 30, 155, - 89, 135, 42, 20, 240, 219, 97, 232, 121, 211, 200, 225, - 35, 75, 218, 76, 60, 79, 186, 104, 12, 63, 57, 212, - 53, 189, 110, 161, - ... 1607 more items - ] - }, - list: [ 'discord.com:443:::::::::::::::::::::' ] - }, - [Symbol(kCapture)]: false - }, - socketPath: undefined, - method: 'POST', - maxHeaderSize: undefined, - insecureHTTPParser: undefined, - path: '/api/v10/interactions/1084533210211426316/aW50ZXJhY3Rpb246MTA4NDUzMzIxMDIxMTQyNjMxNjpiUFUxUDdCS2NUSUVtZkpyUjVyc29obzF3V0FlTFVET0gyRFo2bUw3a0dPSE83R05SV21KdGJkQWJDbm1vRFdHRXNpV2N6QXh6NXlpbXVhNk9ON0RoemxZTmVzODlDYkRzUldWZVVyOVc0T1FBQkJCQkRCR1hPbm1oZUxKbjd6Tw/callback', - _ended: true, - res: IncomingMessage { - _readableState: ReadableState { - objectMode: false, - highWaterMark: 16384, - buffer: BufferList { head: null, tail: null, length: 0 }, - length: 0, - pipes: [], - flowing: false, - ended: true, - endEmitted: true, - reading: false, - constructed: true, - sync: false, - needReadable: false, - emittedReadable: false, - readableListening: false, - resumeScheduled: false, - errorEmitted: false, - emitClose: true, - autoDestroy: true, - destroyed: true, - errored: null, - closed: true, - closeEmitted: true, - defaultEncoding: 'utf8', - awaitDrainWriters: null, - multiAwaitDrain: false, - readingMore: false, - dataEmitted: true, - decoder: null, - encoding: null, - [Symbol(kPaused)]: true - }, - _events: [Object: null prototype] { - end: [Function: responseOnEnd], - aborted: [Function: bound onceWrapper] { - listener: [Function (anonymous)] - } - }, - _eventsCount: 2, - _maxListeners: undefined, - socket: null, - httpVersionMajor: 1, - httpVersionMinor: 1, - httpVersion: '1.1', - complete: true, - rawHeaders: [ - 'Date', - 'Sun, 12 Mar 2023 17:47:47 GMT', - 'Content-Type', - 'application/json', - 'Transfer-Encoding', - 'chunked', - 'Connection', - 'keep-alive', - 'set-cookie', - '__dcfduid=fff886dcc0fd11edbc601aac3022a639; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - 'strict-transport-security', - 'max-age=31536000; includeSubDomains; preload', - 'Via', - '1.1 google', - 'Alt-Svc', - 'h3=":443"; ma=86400, h3-29=":443"; ma=86400', - 'CF-Cache-Status', - 'DYNAMIC', - 'Report-To', - '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=K4zVIHnFHf3%2FcSpVS95ORanGeTEjM8J%2F3Zz5Au3LZ4Bh%2FD3241lTwy4DaleO4KQpuDq9cezxGC%2F2aA7mAPu%2BuvPSUD3waLvnKPZFn0mArh0YSPbUd81T1d2KJeT0"}],"group":"cf-nel","max_age":604800}', - 'NEL', - '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', - 'X-Content-Type-Options', - 'nosniff', - 'Set-Cookie', - '__sdcfduid=fff886dcc0fd11edbc601aac3022a63955dac456377e11fe86899223d3642017495539424d0595f853bc3fa779adfba3; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - 'Set-Cookie', - '__cfruid=fadb701c45f71ae8ed067b27cd008f64033912a5-1678643267; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None', - 'Server', - 'cloudflare', - 'CF-RAY', - '7a6ddd437e8ae542-DFW', - 'Content-Encoding', - 'gzip' - ], - rawTrailers: [], - aborted: false, - upgrade: false, - url: '', - method: null, - statusCode: 404, - statusMessage: 'Not Found', - client: TLSSocket { - _tlsOptions: { - allowHalfOpen: undefined, - pipe: false, - secureContext: SecureContext { context: SecureContext {} }, - isServer: false, - requestCert: true, - rejectUnauthorized: true, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - ALPNProtocols: undefined, - requestOCSP: undefined, - enableTrace: undefined, - pskCallback: undefined, - highWaterMark: undefined, - onread: undefined, - signal: undefined - }, - _secureEstablished: true, - _securePending: false, - _newSessionPending: false, - _controlReleased: true, - secureConnecting: false, - _SNICallback: null, - servername: 'discord.com', - alpnProtocol: false, - authorized: true, - authorizationError: null, - encrypted: true, - _events: [Object: null prototype] { - close: [ - [Function: onSocketCloseDestroySSL], - [Function], - [Function: onClose] - ], - end: [Function: onReadableStreamEnd], - newListener: [Function: keylogNewListener], - secure: [Function: onConnectSecure], - session: [Function (anonymous)], - free: [Function: onFree], - timeout: [Function: onTimeout], - agentRemove: [Function: onRemove], - error: [Function: bound onceWrapper] { - listener: [Function: freeSocketErrorListener] - } - }, - _eventsCount: 9, - connecting: false, - _hadError: false, - _parent: null, - _host: 'discord.com', - _closeAfterHandlingError: false, - _readableState: ReadableState { - objectMode: false, - highWaterMark: 16384, - buffer: BufferList { head: null, tail: null, length: 0 }, - length: 0, - pipes: [], - flowing: true, - ended: false, - endEmitted: false, - reading: true, - constructed: true, - sync: false, - needReadable: true, - emittedReadable: false, - readableListening: false, - resumeScheduled: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - destroyed: false, - errored: null, - closed: false, - closeEmitted: false, - defaultEncoding: 'utf8', - awaitDrainWriters: null, - multiAwaitDrain: false, - readingMore: false, - dataEmitted: true, - decoder: null, - encoding: null, - [Symbol(kPaused)]: false - }, - _maxListeners: undefined, - _writableState: WritableState { - objectMode: false, - highWaterMark: 16384, - finalCalled: false, - needDrain: false, - ending: false, - ended: false, - finished: false, - destroyed: false, - decodeStrings: false, - defaultEncoding: 'utf8', - length: 0, - writing: false, - corked: 0, - sync: false, - bufferProcessing: false, - onwrite: [Function: bound onwrite], - writecb: null, - writelen: 0, - afterWriteTickInfo: null, - buffered: [], - bufferedIndex: 0, - allBuffers: true, - allNoop: true, - pendingcb: 0, - constructed: true, - prefinished: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - errored: null, - closed: false, - closeEmitted: false, - [Symbol(kOnFinished)]: [] - }, - allowHalfOpen: false, - _sockname: null, - _pendingData: null, - _pendingEncoding: '', - server: undefined, - _server: null, - ssl: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - _requestCert: true, - _rejectUnauthorized: true, - timeout: 5000, - parser: null, - _httpMessage: null, - [Symbol(res)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(verified)]: true, - [Symbol(pendingSession)]: null, - [Symbol(async_id_symbol)]: -1, - [Symbol(kHandle)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(lastWriteQueueSize)]: 0, - [Symbol(timeout)]: Timeout { - _idleTimeout: 5000, - _idlePrev: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleNext: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleStart: 13318, - _onTimeout: [Function: bound ], - _timerArgs: undefined, - _repeat: null, - _destroyed: false, - [Symbol(refed)]: false, - [Symbol(kHasPrimitive)]: false, - [Symbol(asyncId)]: 145, - [Symbol(triggerId)]: 143 - }, - [Symbol(kBuffer)]: null, - [Symbol(kBufferCb)]: null, - [Symbol(kBufferGen)]: null, - [Symbol(kCapture)]: false, - [Symbol(kSetNoDelay)]: false, - [Symbol(kSetKeepAlive)]: true, - [Symbol(kSetKeepAliveInitialDelay)]: 1, - [Symbol(kBytesRead)]: 0, - [Symbol(kBytesWritten)]: 0, - [Symbol(connect-options)]: { - rejectUnauthorized: true, - ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA', - checkServerIdentity: [Function: checkServerIdentity], - minDHSize: 1024, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - method: 'POST', - host: 'discord.com', - path: null, - headers: { - 'User-Agent': 'DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)', - 'Accept-Encoding': 'gzip,deflate', - 'X-RateLimit-Precision': 'millisecond', - 'Content-Type': 'application/json' - }, - agent: null, - _defaultAgent: Agent { - _events: [Object: null prototype], - _eventsCount: 2, - _maxListeners: undefined, - defaultPort: 443, - protocol: 'https:', - options: [Object: null prototype], - requests: [Object: null prototype] {}, - sockets: [Object: null prototype] {}, - freeSockets: [Object: null prototype], - keepAliveMsecs: 1000, - keepAlive: true, - maxSockets: Infinity, - maxFreeSockets: 256, - scheduling: 'lifo', - maxTotalSockets: Infinity, - totalSocketCount: 1, - maxCachedSessions: 100, - _sessionCache: [Object], - [Symbol(kCapture)]: false - }, - port: 443, - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - servername: 'discord.com', - _agentKey: 'discord.com:443:::::::::::::::::::::', - encoding: null, - keepAliveInitialDelay: 1000 - } - }, - _consuming: true, - _dumped: false, - req: [Circular *3], - [Symbol(kCapture)]: false, - [Symbol(kHeaders)]: { - date: 'Sun, 12 Mar 2023 17:47:47 GMT', - 'content-type': 'application/json', - 'transfer-encoding': 'chunked', - connection: 'keep-alive', - 'set-cookie': [ - '__dcfduid=fff886dcc0fd11edbc601aac3022a639; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - '__sdcfduid=fff886dcc0fd11edbc601aac3022a63955dac456377e11fe86899223d3642017495539424d0595f853bc3fa779adfba3; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - '__cfruid=fadb701c45f71ae8ed067b27cd008f64033912a5-1678643267; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None' - ], - 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', - via: '1.1 google', - 'alt-svc': 'h3=":443"; ma=86400, h3-29=":443"; ma=86400', - 'cf-cache-status': 'DYNAMIC', - 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=K4zVIHnFHf3%2FcSpVS95ORanGeTEjM8J%2F3Zz5Au3LZ4Bh%2FD3241lTwy4DaleO4KQpuDq9cezxGC%2F2aA7mAPu%2BuvPSUD3waLvnKPZFn0mArh0YSPbUd81T1d2KJeT0"}],"group":"cf-nel","max_age":604800}', - nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', - 'x-content-type-options': 'nosniff', - server: 'cloudflare', - 'cf-ray': '7a6ddd437e8ae542-DFW', - 'content-encoding': 'gzip' - }, - [Symbol(kHeadersCount)]: 34, - [Symbol(kTrailers)]: null, - [Symbol(kTrailersCount)]: 0 - }, - aborted: false, - timeoutCb: null, - upgradeOrConnect: false, - parser: null, - maxHeadersCount: null, - reusedSocket: false, - host: 'discord.com', - protocol: 'https:', - [Symbol(kCapture)]: false, - [Symbol(kBytesWritten)]: 0, - [Symbol(kEndCalled)]: true, - [Symbol(kNeedDrain)]: false, - [Symbol(corked)]: 0, - [Symbol(kOutHeaders)]: [Object: null prototype] { - 'user-agent': [ - 'User-Agent', - 'DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)' - ], - 'accept-encoding': [ 'Accept-Encoding', 'gzip,deflate' ], - 'x-ratelimit-precision': [ 'X-RateLimit-Precision', 'millisecond' ], - 'content-type': [ 'Content-Type', 'application/json' ], - host: [ 'Host', 'discord.com' ] - }, - [Symbol(errored)]: null, - [Symbol(kUniqueHeaders)]: null - }, - res: IncomingMessage { - _readableState: ReadableState { - objectMode: false, - highWaterMark: 16384, - buffer: BufferList { head: null, tail: null, length: 0 }, - length: 0, - pipes: [], - flowing: false, - ended: true, - endEmitted: true, - reading: false, - constructed: true, - sync: false, - needReadable: false, - emittedReadable: false, - readableListening: false, - resumeScheduled: false, - errorEmitted: false, - emitClose: true, - autoDestroy: true, - destroyed: true, - errored: null, - closed: true, - closeEmitted: true, - defaultEncoding: 'utf8', - awaitDrainWriters: null, - multiAwaitDrain: false, - readingMore: false, - dataEmitted: true, - decoder: null, - encoding: null, - [Symbol(kPaused)]: true - }, - _events: [Object: null prototype] { - end: [Function: responseOnEnd], - aborted: [Function: bound onceWrapper] { listener: [Function (anonymous)] } - }, - _eventsCount: 2, - _maxListeners: undefined, - socket: null, - httpVersionMajor: 1, - httpVersionMinor: 1, - httpVersion: '1.1', - complete: true, - rawHeaders: [ - 'Date', - 'Sun, 12 Mar 2023 17:47:47 GMT', - 'Content-Type', - 'application/json', - 'Transfer-Encoding', - 'chunked', - 'Connection', - 'keep-alive', - 'set-cookie', - '__dcfduid=fff886dcc0fd11edbc601aac3022a639; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - 'strict-transport-security', - 'max-age=31536000; includeSubDomains; preload', - 'Via', - '1.1 google', - 'Alt-Svc', - 'h3=":443"; ma=86400, h3-29=":443"; ma=86400', - 'CF-Cache-Status', - 'DYNAMIC', - 'Report-To', - '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=K4zVIHnFHf3%2FcSpVS95ORanGeTEjM8J%2F3Zz5Au3LZ4Bh%2FD3241lTwy4DaleO4KQpuDq9cezxGC%2F2aA7mAPu%2BuvPSUD3waLvnKPZFn0mArh0YSPbUd81T1d2KJeT0"}],"group":"cf-nel","max_age":604800}', - 'NEL', - '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', - 'X-Content-Type-Options', - 'nosniff', - 'Set-Cookie', - '__sdcfduid=fff886dcc0fd11edbc601aac3022a63955dac456377e11fe86899223d3642017495539424d0595f853bc3fa779adfba3; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - 'Set-Cookie', - '__cfruid=fadb701c45f71ae8ed067b27cd008f64033912a5-1678643267; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None', - 'Server', - 'cloudflare', - 'CF-RAY', - '7a6ddd437e8ae542-DFW', - 'Content-Encoding', - 'gzip' - ], - rawTrailers: [], - aborted: false, - upgrade: false, - url: '', - method: null, - statusCode: 404, - statusMessage: 'Not Found', - client: TLSSocket { - _tlsOptions: { - allowHalfOpen: undefined, - pipe: false, - secureContext: SecureContext { context: SecureContext {} }, - isServer: false, - requestCert: true, - rejectUnauthorized: true, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - ALPNProtocols: undefined, - requestOCSP: undefined, - enableTrace: undefined, - pskCallback: undefined, - highWaterMark: undefined, - onread: undefined, - signal: undefined - }, - _secureEstablished: true, - _securePending: false, - _newSessionPending: false, - _controlReleased: true, - secureConnecting: false, - _SNICallback: null, - servername: 'discord.com', - alpnProtocol: false, - authorized: true, - authorizationError: null, - encrypted: true, - _events: [Object: null prototype] { - close: [ - [Function: onSocketCloseDestroySSL], - [Function: bound onceWrapper] { - listener: [Function (anonymous)] - }, - [Function: onClose] - ], - end: [Function: onReadableStreamEnd], - newListener: [Function: keylogNewListener], - secure: [Function: onConnectSecure], - session: [Function (anonymous)], - free: [Function: onFree], - timeout: [Function: onTimeout], - agentRemove: [Function: onRemove], - error: [Function: bound onceWrapper] { - listener: [Function: freeSocketErrorListener] - } - }, - _eventsCount: 9, - connecting: false, - _hadError: false, - _parent: null, - _host: 'discord.com', - _closeAfterHandlingError: false, - _readableState: ReadableState { - objectMode: false, - highWaterMark: 16384, - buffer: BufferList { head: null, tail: null, length: 0 }, - length: 0, - pipes: [], - flowing: true, - ended: false, - endEmitted: false, - reading: true, - constructed: true, - sync: false, - needReadable: true, - emittedReadable: false, - readableListening: false, - resumeScheduled: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - destroyed: false, - errored: null, - closed: false, - closeEmitted: false, - defaultEncoding: 'utf8', - awaitDrainWriters: null, - multiAwaitDrain: false, - readingMore: false, - dataEmitted: true, - decoder: null, - encoding: null, - [Symbol(kPaused)]: false - }, - _maxListeners: undefined, - _writableState: WritableState { - objectMode: false, - highWaterMark: 16384, - finalCalled: false, - needDrain: false, - ending: false, - ended: false, - finished: false, - destroyed: false, - decodeStrings: false, - defaultEncoding: 'utf8', - length: 0, - writing: false, - corked: 0, - sync: false, - bufferProcessing: false, - onwrite: [Function: bound onwrite], - writecb: null, - writelen: 0, - afterWriteTickInfo: null, - buffered: [], - bufferedIndex: 0, - allBuffers: true, - allNoop: true, - pendingcb: 0, - constructed: true, - prefinished: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - errored: null, - closed: false, - closeEmitted: false, - [Symbol(kOnFinished)]: [] - }, - allowHalfOpen: false, - _sockname: null, - _pendingData: null, - _pendingEncoding: '', - server: undefined, - _server: null, - ssl: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - _requestCert: true, - _rejectUnauthorized: true, - timeout: 5000, - parser: null, - _httpMessage: null, - [Symbol(res)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(verified)]: true, - [Symbol(pendingSession)]: null, - [Symbol(async_id_symbol)]: -1, - [Symbol(kHandle)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(lastWriteQueueSize)]: 0, - [Symbol(timeout)]: Timeout { - _idleTimeout: 5000, - _idlePrev: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleNext: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleStart: 13318, - _onTimeout: [Function: bound ], - _timerArgs: undefined, - _repeat: null, - _destroyed: false, - [Symbol(refed)]: false, - [Symbol(kHasPrimitive)]: false, - [Symbol(asyncId)]: 145, - [Symbol(triggerId)]: 143 - }, - [Symbol(kBuffer)]: null, - [Symbol(kBufferCb)]: null, - [Symbol(kBufferGen)]: null, - [Symbol(kCapture)]: false, - [Symbol(kSetNoDelay)]: false, - [Symbol(kSetKeepAlive)]: true, - [Symbol(kSetKeepAliveInitialDelay)]: 1, - [Symbol(kBytesRead)]: 0, - [Symbol(kBytesWritten)]: 0, - [Symbol(connect-options)]: { - rejectUnauthorized: true, - ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA', - checkServerIdentity: [Function: checkServerIdentity], - minDHSize: 1024, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - method: 'POST', - host: 'discord.com', - path: null, - headers: { - 'User-Agent': 'DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)', - 'Accept-Encoding': 'gzip,deflate', - 'X-RateLimit-Precision': 'millisecond', - 'Content-Type': 'application/json' - }, - agent: null, - _defaultAgent: Agent { - _events: [Object: null prototype] { - free: [Function (anonymous)], - newListener: [Function: maybeEnableKeylog] - }, - _eventsCount: 2, - _maxListeners: undefined, - defaultPort: 443, - protocol: 'https:', - options: [Object: null prototype] { - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - path: null - }, - requests: [Object: null prototype] {}, - sockets: [Object: null prototype] {}, - freeSockets: [Object: null prototype] { - 'discord.com:443:::::::::::::::::::::': [Array] - }, - keepAliveMsecs: 1000, - keepAlive: true, - maxSockets: Infinity, - maxFreeSockets: 256, - scheduling: 'lifo', - maxTotalSockets: Infinity, - totalSocketCount: 1, - maxCachedSessions: 100, - _sessionCache: { map: [Object], list: [Array] }, - [Symbol(kCapture)]: false - }, - port: 443, - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - servername: 'discord.com', - _agentKey: 'discord.com:443:::::::::::::::::::::', - encoding: null, - keepAliveInitialDelay: 1000 - } - }, - _consuming: true, - _dumped: false, - req: ClientRequest { - _events: [Object: null prototype] { - abort: [Function: bound onceWrapper] { - listener: [Function (anonymous)] - }, - error: [Function: bound onceWrapper] { - listener: [Function (anonymous)] - }, - socket: [Function (anonymous)], - timeout: [Function: bound onceWrapper] { - listener: [Function (anonymous)] - }, - finish: [Function: requestOnFinish] - }, - _eventsCount: 5, - _maxListeners: undefined, - outputData: [], - outputSize: 0, - writable: true, - destroyed: true, - _last: false, - chunkedEncoding: false, - shouldKeepAlive: true, - maxRequestsOnConnectionReached: false, - _defaultKeepAlive: true, - useChunkedEncodingByDefault: true, - sendDate: false, - _removedConnection: false, - _removedContLen: false, - _removedTE: false, - strictContentLength: false, - _contentLength: 100, - _hasBody: true, - _trailer: '', - finished: true, - _headerSent: true, - _closed: true, - socket: TLSSocket { - _tlsOptions: { - allowHalfOpen: undefined, - pipe: false, - secureContext: SecureContext { context: SecureContext {} }, - isServer: false, - requestCert: true, - rejectUnauthorized: true, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - ALPNProtocols: undefined, - requestOCSP: undefined, - enableTrace: undefined, - pskCallback: undefined, - highWaterMark: undefined, - onread: undefined, - signal: undefined - }, - _secureEstablished: true, - _securePending: false, - _newSessionPending: false, - _controlReleased: true, - secureConnecting: false, - _SNICallback: null, - servername: 'discord.com', - alpnProtocol: false, - authorized: true, - authorizationError: null, - encrypted: true, - _events: [Object: null prototype] { - close: [ - [Function: onSocketCloseDestroySSL], - [Function], - [Function: onClose] - ], - end: [Function: onReadableStreamEnd], - newListener: [Function: keylogNewListener], - secure: [Function: onConnectSecure], - session: [Function (anonymous)], - free: [Function: onFree], - timeout: [Function: onTimeout], - agentRemove: [Function: onRemove], - error: [Function: bound onceWrapper] { - listener: [Function: freeSocketErrorListener] - } - }, - _eventsCount: 9, - connecting: false, - _hadError: false, - _parent: null, - _host: 'discord.com', - _closeAfterHandlingError: false, - _readableState: ReadableState { - objectMode: false, - highWaterMark: 16384, - buffer: BufferList { head: null, tail: null, length: 0 }, - length: 0, - pipes: [], - flowing: true, - ended: false, - endEmitted: false, - reading: true, - constructed: true, - sync: false, - needReadable: true, - emittedReadable: false, - readableListening: false, - resumeScheduled: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - destroyed: false, - errored: null, - closed: false, - closeEmitted: false, - defaultEncoding: 'utf8', - awaitDrainWriters: null, - multiAwaitDrain: false, - readingMore: false, - dataEmitted: true, - decoder: null, - encoding: null, - [Symbol(kPaused)]: false - }, - _maxListeners: undefined, - _writableState: WritableState { - objectMode: false, - highWaterMark: 16384, - finalCalled: false, - needDrain: false, - ending: false, - ended: false, - finished: false, - destroyed: false, - decodeStrings: false, - defaultEncoding: 'utf8', - length: 0, - writing: false, - corked: 0, - sync: false, - bufferProcessing: false, - onwrite: [Function: bound onwrite], - writecb: null, - writelen: 0, - afterWriteTickInfo: null, - buffered: [], - bufferedIndex: 0, - allBuffers: true, - allNoop: true, - pendingcb: 0, - constructed: true, - prefinished: false, - errorEmitted: false, - emitClose: false, - autoDestroy: true, - errored: null, - closed: false, - closeEmitted: false, - [Symbol(kOnFinished)]: [] - }, - allowHalfOpen: false, - _sockname: null, - _pendingData: null, - _pendingEncoding: '', - server: undefined, - _server: null, - ssl: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - _requestCert: true, - _rejectUnauthorized: true, - timeout: 5000, - parser: null, - _httpMessage: null, - [Symbol(res)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(verified)]: true, - [Symbol(pendingSession)]: null, - [Symbol(async_id_symbol)]: -1, - [Symbol(kHandle)]: TLSWrap { - _parent: TCP { - reading: [Getter/Setter], - onconnection: null, - [Symbol(owner_symbol)]: [Circular *1] - }, - _parentWrap: undefined, - _secureContext: SecureContext { context: SecureContext {} }, - reading: true, - onkeylog: [Function: onkeylog], - onhandshakestart: {}, - onhandshakedone: [Function (anonymous)], - onocspresponse: [Function: onocspresponse], - onnewsession: [Function: onnewsessionclient], - onerror: [Function: onerror], - [Symbol(owner_symbol)]: [Circular *1] - }, - [Symbol(lastWriteQueueSize)]: 0, - [Symbol(timeout)]: Timeout { - _idleTimeout: 5000, - _idlePrev: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleNext: TimersList { - _idleNext: [Circular *2], - _idlePrev: [Circular *2], - expiry: 18131, - id: -9007199254740976, - msecs: 5000, - priorityQueuePosition: 2 - }, - _idleStart: 13318, - _onTimeout: [Function: bound ], - _timerArgs: undefined, - _repeat: null, - _destroyed: false, - [Symbol(refed)]: false, - [Symbol(kHasPrimitive)]: false, - [Symbol(asyncId)]: 145, - [Symbol(triggerId)]: 143 - }, - [Symbol(kBuffer)]: null, - [Symbol(kBufferCb)]: null, - [Symbol(kBufferGen)]: null, - [Symbol(kCapture)]: false, - [Symbol(kSetNoDelay)]: false, - [Symbol(kSetKeepAlive)]: true, - [Symbol(kSetKeepAliveInitialDelay)]: 1, - [Symbol(kBytesRead)]: 0, - [Symbol(kBytesWritten)]: 0, - [Symbol(connect-options)]: { - rejectUnauthorized: true, - ciphers: 'TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384:DHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA256:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!SRP:!CAMELLIA', - checkServerIdentity: [Function: checkServerIdentity], - minDHSize: 1024, - session: Buffer(1706) [Uint8Array] [ - 48, 130, 6, 166, 2, 1, 1, 2, 2, 3, 4, 4, - 2, 19, 2, 4, 32, 126, 75, 80, 244, 143, 11, 79, - 202, 45, 220, 55, 222, 217, 4, 7, 9, 201, 212, 10, - 3, 244, 81, 255, 200, 179, 18, 11, 203, 11, 104, 180, - 11, 4, 48, 94, 68, 44, 254, 230, 55, 208, 227, 125, - 146, 237, 131, 71, 168, 212, 45, 110, 43, 176, 181, 183, - 123, 219, 61, 4, 51, 190, 16, 103, 241, 96, 244, 49, - 198, 197, 204, 111, 235, 141, 98, 79, 18, 122, 52, 233, - 243, 14, 78, 161, - ... 1606 more items - ], - method: 'POST', - host: 'discord.com', - path: null, - headers: { - 'User-Agent': 'DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)', - 'Accept-Encoding': 'gzip,deflate', - 'X-RateLimit-Precision': 'millisecond', - 'Content-Type': 'application/json' - }, - agent: null, - _defaultAgent: Agent { - _events: [Object: null prototype], - _eventsCount: 2, - _maxListeners: undefined, - defaultPort: 443, - protocol: 'https:', - options: [Object: null prototype], - requests: [Object: null prototype] {}, - sockets: [Object: null prototype] {}, - freeSockets: [Object: null prototype], - keepAliveMsecs: 1000, - keepAlive: true, - maxSockets: Infinity, - maxFreeSockets: 256, - scheduling: 'lifo', - maxTotalSockets: Infinity, - totalSocketCount: 1, - maxCachedSessions: 100, - _sessionCache: [Object], - [Symbol(kCapture)]: false - }, - port: 443, - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - servername: 'discord.com', - _agentKey: 'discord.com:443:::::::::::::::::::::', - encoding: null, - keepAliveInitialDelay: 1000 - } - }, - _header: 'POST /api/v10/interactions/1084533210211426316/aW50ZXJhY3Rpb246MTA4NDUzMzIxMDIxMTQyNjMxNjpiUFUxUDdCS2NUSUVtZkpyUjVyc29obzF3V0FlTFVET0gyRFo2bUw3a0dPSE83R05SV21KdGJkQWJDbm1vRFdHRXNpV2N6QXh6NXlpbXVhNk9ON0RoemxZTmVzODlDYkRzUldWZVVyOVc0T1FBQkJCQkRCR1hPbm1oZUxKbjd6Tw/callback HTTP/1.1\r\n' + - 'User-Agent: DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)\r\n' + - 'Accept-Encoding: gzip,deflate\r\n' + - 'X-RateLimit-Precision: millisecond\r\n' + - 'Content-Type: application/json\r\n' + - 'Host: discord.com\r\n' + - 'Connection: keep-alive\r\n' + - 'Content-Length: 100\r\n' + - '\r\n', - _keepAliveTimeout: 0, - _onPendingData: [Function: nop], - agent: Agent { - _events: [Object: null prototype] { - free: [Function (anonymous)], - newListener: [Function: maybeEnableKeylog] - }, - _eventsCount: 2, - _maxListeners: undefined, - defaultPort: 443, - protocol: 'https:', - options: [Object: null prototype] { - keepAlive: true, - scheduling: 'lifo', - timeout: 5000, - noDelay: true, - path: null - }, - requests: [Object: null prototype] {}, - sockets: [Object: null prototype] {}, - freeSockets: [Object: null prototype] { - 'discord.com:443:::::::::::::::::::::': [ [TLSSocket] ] - }, - keepAliveMsecs: 1000, - keepAlive: true, - maxSockets: Infinity, - maxFreeSockets: 256, - scheduling: 'lifo', - maxTotalSockets: Infinity, - totalSocketCount: 1, - maxCachedSessions: 100, - _sessionCache: { - map: { - 'discord.com:443:::::::::::::::::::::': [Buffer [Uint8Array]] - }, - list: [ 'discord.com:443:::::::::::::::::::::' ] - }, - [Symbol(kCapture)]: false - }, - socketPath: undefined, - method: 'POST', - maxHeaderSize: undefined, - insecureHTTPParser: undefined, - path: '/api/v10/interactions/1084533210211426316/aW50ZXJhY3Rpb246MTA4NDUzMzIxMDIxMTQyNjMxNjpiUFUxUDdCS2NUSUVtZkpyUjVyc29obzF3V0FlTFVET0gyRFo2bUw3a0dPSE83R05SV21KdGJkQWJDbm1vRFdHRXNpV2N6QXh6NXlpbXVhNk9ON0RoemxZTmVzODlDYkRzUldWZVVyOVc0T1FBQkJCQkRCR1hPbm1oZUxKbjd6Tw/callback', - _ended: true, - res: [Circular *4], - aborted: false, - timeoutCb: null, - upgradeOrConnect: false, - parser: null, - maxHeadersCount: null, - reusedSocket: false, - host: 'discord.com', - protocol: 'https:', - [Symbol(kCapture)]: false, - [Symbol(kBytesWritten)]: 0, - [Symbol(kEndCalled)]: true, - [Symbol(kNeedDrain)]: false, - [Symbol(corked)]: 0, - [Symbol(kOutHeaders)]: [Object: null prototype] { - 'user-agent': [ - 'User-Agent', - 'DiscordBot (https://github.com/Snazzah/slash-create, 5.11.0)' - ], - 'accept-encoding': [ 'Accept-Encoding', 'gzip,deflate' ], - 'x-ratelimit-precision': [ 'X-RateLimit-Precision', 'millisecond' ], - 'content-type': [ 'Content-Type', 'application/json' ], - host: [ 'Host', 'discord.com' ] - }, - [Symbol(errored)]: null, - [Symbol(kUniqueHeaders)]: null - }, - [Symbol(kCapture)]: false, - [Symbol(kHeaders)]: { - date: 'Sun, 12 Mar 2023 17:47:47 GMT', - 'content-type': 'application/json', - 'transfer-encoding': 'chunked', - connection: 'keep-alive', - 'set-cookie': [ - '__dcfduid=fff886dcc0fd11edbc601aac3022a639; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - '__sdcfduid=fff886dcc0fd11edbc601aac3022a63955dac456377e11fe86899223d3642017495539424d0595f853bc3fa779adfba3; Expires=Fri, 10-Mar-2028 17:47:47 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', - '__cfruid=fadb701c45f71ae8ed067b27cd008f64033912a5-1678643267; path=/; domain=.discord.com; HttpOnly; Secure; SameSite=None' - ], - 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', - via: '1.1 google', - 'alt-svc': 'h3=":443"; ma=86400, h3-29=":443"; ma=86400', - 'cf-cache-status': 'DYNAMIC', - 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=K4zVIHnFHf3%2FcSpVS95ORanGeTEjM8J%2F3Zz5Au3LZ4Bh%2FD3241lTwy4DaleO4KQpuDq9cezxGC%2F2aA7mAPu%2BuvPSUD3waLvnKPZFn0mArh0YSPbUd81T1d2KJeT0"}],"group":"cf-nel","max_age":604800}', - nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', - 'x-content-type-options': 'nosniff', - server: 'cloudflare', - 'cf-ray': '7a6ddd437e8ae542-DFW', - 'content-encoding': 'gzip' - }, - [Symbol(kHeadersCount)]: 34, - [Symbol(kTrailers)]: null, - [Symbol(kTrailersCount)]: 0 - }, - response: { message: 'Unknown interaction', code: 10062 }, - code: 404 -} - -Node.js v19.4.0 diff --git a/out.txt b/out.txt deleted file mode 100644 index bd0f945..0000000 --- a/out.txt +++ /dev/null @@ -1,8 +0,0 @@ - -> slash-create-template@1.0.0 start -> cd dist && node index.js - - 03/12 12:47:34 info Registered command hello -ready! - 03/12 12:47:35 info Commands synced! - 03/12 12:47:47 info ZeroMomentum#6560 (435206857276260353) ran command hello