Open saildrag opened 3 years ago
Hello I think I have a problem with the slash command register Here is the end of the error, it is too long to see everything
[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, method: 'GET', host: 'discord.com', path: null, headers: { 'User-Agent': 'DiscordBot (https://github.com/Snazzah/slash-create, 4.0.1)', 'Accept-Encoding': 'gzip,deflate', 'X-RateLimit-Precision': 'millisecond', Authorization: 'Bot 841958707344441354' }, 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: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'lifo', maxTotalSockets: Infinity, totalSocketCount: 2, maxCachedSessions: 100, _sessionCache: [Object], [Symbol(kCapture)]: false }, port: 443, servername: 'discord.com', _agentKey: 'discord.com:443:::::::::::::::::::::', encoding: null, singleUse: true }, [Symbol(RequestTimeout)]: undefined }, _header: 'GET /api/v8/applications/841958707344441354/guilds/841958910533304371/commands HTTP/1.1\r\n' + 'User-Agent: DiscordBot (https://github.com/Snazzah/slash-create, 4.0.1)\r\n' + 'Accept-Encoding: gzip,deflate\r\n' + 'X-RateLimit-Precision: millisecond\r\n' + 'Authorization: Bot 841958707344441354\r\n' + 'Host: discord.com\r\n' + 'Connection: close\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] { path: null }, requests: [Object: null prototype] {}, sockets: [Object: null prototype] { 'soundcloud.com:443:::::::::::::::::::::': [ [TLSSocket] ], 'discord.com:443:::::::::::::::::::::': [ [TLSSocket] ] }, freeSockets: [Object: null prototype] {}, keepAliveMsecs: 1000, keepAlive: false, maxSockets: Infinity, maxFreeSockets: 256, scheduling: 'lifo', maxTotalSockets: Infinity, totalSocketCount: 2, maxCachedSessions: 100, _sessionCache: { map: { 'discord.com:443:::::::::::::::::::::': [Buffer [Uint8Array]] }, list: [ 'discord.com:443:::::::::::::::::::::' ] }, [Symbol(kCapture)]: false }, socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/api/v8/applications/841958707344441354/guilds/841958910533304371/commands', _ended: true, res: [Circular *6], aborted: false, timeoutCb: [Function: emitRequestTimeout], upgradeOrConnect: false, parser: null, maxHeadersCount: null, reusedSocket: false, host: 'discord.com', protocol: 'https:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] { 'user-agent': [ 'User-Agent', 'DiscordBot (https://github.com/Snazzah/slash-create, 4.0.1)' ], 'accept-encoding': [ 'Accept-Encoding', 'gzip,deflate' ], 'x-ratelimit-precision': [ 'X-RateLimit-Precision', 'millisecond' ], authorization: [ 'Authorization', 'Bot 841958707344441354' ], host: [ 'Host', 'discord.com' ] } }, [Symbol(kCapture)]: false, [Symbol(kHeaders)]: { date: 'Fri, 27 Aug 2021 17:16:57 GMT', 'content-type': 'application/json', 'content-length': '43', connection: 'close', 'set-cookie': [ '__dcfduid=957e7cfe075a11ec86ff42010a0a02d5; Expires=Wed, 26-Aug-2026 17:16:57 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/', '__sdcfduid=957e7cfe075a11ec86ff42010a0a02d592c70551c8d9e2a3805e36a11e41a53c2eb179a2f1a8c8412f552aa393af4301; Expires=Wed, 26-Aug-2026 17:16:57 GMT; Max-Age=157680000; Secure; HttpOnly; Path=/' ], 'strict-transport-security': 'max-age=31536000; includeSubDomains; preload', 'x-envoy-upstream-service-time': '3', via: '1.1 google', 'alt-svc': 'h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400', 'cf-cache-status': 'DYNAMIC', 'expect-ct': 'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=SmkzzFspPjUYlQmlp%2FsKfpqHFIbIKAPlCpUuaSwrhv2wqC52gWoWaYqmdZKvfg2JzvhCJmjazpbK61b8yEgx%2FgufRdEeKOfqxgWqAgeDpxvrt1kDa1d0TgSwvvE2"}],"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': '6856f35d6a40e226-ORD' }, [Symbol(kHeadersCount)]: 34, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined
}, response: { message: '401: Unauthorized', code: 0 }, code: 401 } exit status 1
Hello I think I have a problem with the slash command register Here is the end of the error, it is too long to see everything
}, response: { message: '401: Unauthorized', code: 0 }, code: 401 } exit status 1