Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\Jusia\Documents\ZeroBOT>npm i discord.js
- npm WARN deprecated snekfetch@3.6.4: use node-fetch instead
- npm WARN discord.js@11.4.2 requires a peer of bufferutil@^3.0.3 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.4.2 requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.4.2 requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.4.2 requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.4.2 requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.4.2 requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.
- npm WARN discord.js@11.4.2 requires a peer of uws@^9.14.0 but none is installed. You must install peer dependencies yourself.
- npm WARN Discord-Bot-Maker-Bot@1.3.0-beta.5 No description
- npm WARN Discord-Bot-Maker-Bot@1.3.0-beta.5 No repository field.
- npm WARN Discord-Bot-Maker-Bot@1.3.0-beta.5 No license field.
- + discord.js@11.4.2
- updated 1 package and audited 203 packages in 3.805s
- found 0 vulnerabilities
- C:\Users\Jusia\Documents\ZeroBOT>node bot.js
- Bot is ready!
- (Server Prefixes) Initiating Server Prefixes....
- (Server Prefixes) Loaded Function Overwrite: CheckCommand
- { Error: Request failed with status code 403
- at createError (C:\Users\Jusia\Documents\ZeroBOT\node_modules\axios\lib\core\createError.js:16:15)
- at settle (C:\Users\Jusia\Documents\ZeroBOT\node_modules\axios\lib\core\settle.js:18:12)
- at IncomingMessage.handleStreamEnd (C:\Users\Jusia\Documents\ZeroBOT\node_modules\axios\lib\adapters\http.js:201:11)
- at IncomingMessage.emit (events.js:202:15)
- at endReadableNT (_stream_readable.js:1129:12)
- at processTicksAndRejections (internal/process/next_tick.js:76:17)
- config:
- { adapter: [Function: httpAdapter],
- transformRequest: { '0': [Function: transformRequest] },
- transformResponse: { '0': [Function: transformResponse] },
- timeout: 0,
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- headers:
- { Accept: 'application/json, text/plain, */*',
- 'User-Agent': 'axios/0.18.0' },
- method: 'get',
- url:
- 'https://www.googleapis.com/youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video',
- data: undefined },
- request:
- ClientRequest {
- _events:
- [Object: null prototype] {
- socket: [Function],
- abort: [Function],
- aborted: [Function],
- error: [Function],
- timeout: [Function],
- prefinish: [Function: requestOnPrefinish] },
- _eventsCount: 6,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'www.googleapis.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.googleapis.com',
- _readableState: [ReadableState],
- readable: false,
- _maxListeners: undefined,
- _writableState: [WritableState],
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- write: [Function: writeAfterFIN],
- [Symbol(res)]: [TLSWrap],
- [Symbol(asyncId)]: 199,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 1197,
- [Symbol(kBytesWritten)]: 239,
- [Symbol(connect-options)]: [Object] },
- connection:
- TLSSocket {
- _tlsOptions: [Object],
- _secureEstablished: true,
- _securePending: false,
- _newSessionPending: false,
- _controlReleased: true,
- _SNICallback: null,
- servername: 'www.googleapis.com',
- alpnProtocol: false,
- authorized: true,
- authorizationError: null,
- encrypted: true,
- _events: [Object],
- _eventsCount: 9,
- connecting: false,
- _hadError: false,
- _handle: null,
- _parent: null,
- _host: 'www.googleapis.com',
- _readableState: [ReadableState],
- readable: false,
- _maxListeners: undefined,
- _writableState: [WritableState],
- writable: false,
- allowHalfOpen: false,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: undefined,
- _server: null,
- ssl: null,
- _requestCert: true,
- _rejectUnauthorized: true,
- parser: null,
- _httpMessage: [Circular],
- write: [Function: writeAfterFIN],
- [Symbol(res)]: [TLSWrap],
- [Symbol(asyncId)]: 199,
- [Symbol(lastWriteQueueSize)]: 0,
- [Symbol(timeout)]: null,
- [Symbol(kBytesRead)]: 1197,
- [Symbol(kBytesWritten)]: 239,
- [Symbol(connect-options)]: [Object] },
- _header:
- 'GET /youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.18.0\r\nHost: www.googleapis.com\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent:
- Agent {
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- defaultPort: 443,
- protocol: 'https:',
- options: [Object],
- requests: {},
- sockets: [Object],
- freeSockets: {},
- keepAliveMsecs: 1000,
- keepAlive: false,
- maxSockets: Infinity,
- maxFreeSockets: 256,
- maxCachedSessions: 100,
- _sessionCache: [Object] },
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path:
- '/youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video',
- _ended: true,
- res:
- IncomingMessage {
- _readableState: [ReadableState],
- readable: false,
- _events: [Object],
- _eventsCount: 3,
- _maxListeners: undefined,
- socket: [TLSSocket],
- connection: [TLSSocket],
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers: [Object],
- rawHeaders: [Array],
- trailers: {},
- rawTrailers: [],
- aborted: false,
- upgrade: false,
- url: '',
- method: null,
- statusCode: 403,
- statusMessage: 'Forbidden',
- client: [TLSSocket],
- _consuming: true,
- _dumped: false,
- req: [Circular],
- responseUrl:
- 'https://www.googleapis.com/youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video',
- redirects: [] },
- aborted: false,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable:
- Writable {
- _writableState: [WritableState],
- writable: true,
- _events: [Object],
- _eventsCount: 2,
- _maxListeners: undefined,
- _options: [Object],
- _ended: true,
- _ending: true,
- _redirectCount: 0,
- _redirects: [],
- _requestBodyLength: 0,
- _requestBodyBuffers: [],
- _onNativeResponse: [Function],
- _currentRequest: [Circular],
- _currentUrl:
- 'https://www.googleapis.com/youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video' },
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]:
- [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] } },
- response:
- { status: 403,
- statusText: 'Forbidden',
- headers:
- { vary: 'X-Origin, Origin,Accept-Encoding',
- 'content-type': 'application/json; charset=UTF-8',
- date: 'Wed, 20 Mar 2019 12:26:59 GMT',
- expires: 'Wed, 20 Mar 2019 12:26:59 GMT',
- 'cache-control': 'private, max-age=0',
- 'x-content-type-options': 'nosniff',
- 'x-frame-options': 'SAMEORIGIN',
- 'x-xss-protection': '1; mode=block',
- server: 'GSE',
- 'alt-svc': 'quic=":443"; ma=2592000; v="46,44,43,39"',
- 'accept-ranges': 'none',
- connection: 'close' },
- config:
- { adapter: [Function: httpAdapter],
- transformRequest: [Object],
- transformResponse: [Object],
- timeout: 0,
- xsrfCookieName: 'XSRF-TOKEN',
- xsrfHeaderName: 'X-XSRF-TOKEN',
- maxContentLength: -1,
- validateStatus: [Function: validateStatus],
- headers: [Object],
- method: 'get',
- url:
- 'https://www.googleapis.com/youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video',
- data: undefined },
- request:
- ClientRequest {
- _events: [Object],
- _eventsCount: 6,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedConnection: false,
- _removedContLen: false,
- _removedTE: false,
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [TLSSocket],
- connection: [TLSSocket],
- _header:
- 'GET /youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.18.0\r\nHost: www.googleapis.com\r\nConnection: close\r\n\r\n',
- _onPendingData: [Function: noopPendingOutput],
- agent: [Agent],
- socketPath: undefined,
- timeout: undefined,
- method: 'GET',
- path:
- '/youtube/v3/search?q=fenix&part=snippet&maxResults=10&key=AIzaSyB22HjiBwdAjA6TklqekRkzn5KSWcoZXmQ&type=video',
- _ended: true,
- res: [IncomingMessage],
- aborted: false,
- timeoutCb: null,
- upgradeOrConnect: false,
- parser: null,
- maxHeadersCount: null,
- _redirectable: [Writable],
- [Symbol(isCorked)]: false,
- [Symbol(outHeadersKey)]: [Object] },
- data: { error: [Object] } } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement