Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am ready!
- { Error: Forbidden
- at Request.callback (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:626:17)
- at C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:795:18
- at Stream.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\parsers\json.js:16:7)
- at emitNone (events.js:86:13)
- at Stream.emit (events.js:185:7)
- at Unzip.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\utils.js:112:12)
- at emitNone (events.js:91:20)
- at Unzip.emit (events.js:185:7)
- at endReadableNT (_stream_readable.js:974:12)
- at _combinedTickCallback (internal/process/next_tick.js:74:11)
- original: null,
- response:
- Response {
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined,
- res:
- IncomingMessage {
- _readableState: [Object],
- readable: false,
- domain: null,
- _events: [Object],
- _eventsCount: 3,
- _maxListeners: undefined,
- socket: [Object],
- connection: [Object],
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers: [Object],
- rawHeaders: [Object],
- trailers: {},
- rawTrailers: [],
- upgrade: false,
- url: '',
- method: null,
- statusCode: 403,
- statusMessage: 'FORBIDDEN',
- client: [Object],
- _consuming: true,
- _dumped: false,
- req: [Object],
- setEncoding: [Function],
- on: [Function],
- text: '{"code": 50013, "message": "Missing Permissions"}',
- read: [Function],
- body: [Object] },
- request:
- Request {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- _agent: false,
- _formData: null,
- method: 'DELETE',
- url: 'https://discordapp.com/api/v6/channels/248660926364909569/messages/257386500730126337',
- _header: [Object],
- header: [Object],
- writable: true,
- _redirects: 0,
- _maxRedirects: 5,
- cookies: '',
- qs: {},
- qsRaw: [],
- _redirectList: [],
- _streamRequest: false,
- req: [Object],
- protocol: 'https:',
- host: 'discordapp.com',
- _callback: [Function],
- res: [Object],
- _timeout: 0,
- response: [Circular],
- called: true },
- req:
- ClientRequest {
- domain: null,
- _events: [Object],
- _eventsCount: 4,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: true,
- upgrading: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: false,
- sendDate: false,
- _removedHeader: {},
- _contentLength: 0,
- _hasBody: true,
- _trailer: '',
- finished: true,
- _headerSent: true,
- socket: [Object],
- connection: [Object],
- _header: 'DELETE /api/v6/channels/248660926364909569/messages/257386500730126337 HTTP/1.1\r\nHost: discordapp.com\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: DiscordBot (https://github.com/hydrabolt/discord.js, 10.0.1)\r\nauthorization: Bot MjU2ODY5MDA0MjE0NDAzMDcy.CyybaQ.CoCMa9VKIFgTf_BKmBmVChCShcA\r\nConnection: close\r\n\r\n',
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: null,
- agent: [Object],
- socketPath: undefined,
- timeout: undefined,
- method: 'DELETE',
- path: '/api/v6/channels/248660926364909569/messages/257386500730126337',
- _ended: true,
- parser: null,
- res: [Object] },
- links: {},
- text: '{"code": 50013, "message": "Missing Permissions"}',
- body: { code: 50013, message: 'Missing Permissions' },
- files: undefined,
- buffered: true,
- headers:
- { date: 'Sun, 11 Dec 2016 06:02:04 GMT',
- 'content-type': 'application/json',
- 'transfer-encoding': 'chunked',
- connection: 'close',
- 'set-cookie': [Object],
- 'strict-transport-security': 'max-age=31536000; includeSubDomains',
- via: '1.1 google',
- 'alt-svc': 'clear',
- server: 'cloudflare-nginx',
- 'cf-ray': '30f6b9c18e4b1bbb-SEA',
- 'content-encoding': 'gzip' },
- header:
- { date: 'Sun, 11 Dec 2016 06:02:04 GMT',
- 'content-type': 'application/json',
- 'transfer-encoding': 'chunked',
- connection: 'close',
- 'set-cookie': [Object],
- 'strict-transport-security': 'max-age=31536000; includeSubDomains',
- via: '1.1 google',
- 'alt-svc': 'clear',
- server: 'cloudflare-nginx',
- 'cf-ray': '30f6b9c18e4b1bbb-SEA',
- 'content-encoding': 'gzip' },
- statusCode: 403,
- status: 403,
- statusType: 4,
- info: false,
- ok: false,
- redirect: false,
- clientError: true,
- serverError: false,
- error:
- { Error: cannot DELETE /api/v6/channels/248660926364909569/messages/257386500730126337 (403)
- at Response.toError (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\response.js:106:13)
- at Response._setStatusProperties (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\response.js:183:12)
- at new Response (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\response.js:42:8)
- at Request._emitResponse (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:659:20)
- at C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:795:38
- at Stream.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\parsers\json.js:16:7)
- at emitNone (events.js:86:13)
- at Stream.emit (events.js:185:7)
- at Unzip.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\utils.js:112:12)
- at emitNone (events.js:91:20)
- status: 403,
- text: '{"code": 50013, "message": "Missing Permissions"}',
- method: 'DELETE',
- path: '/api/v6/channels/248660926364909569/messages/257386500730126337' },
- accepted: false,
- noContent: false,
- badRequest: false,
- unauthorized: false,
- notAcceptable: false,
- forbidden: true,
- notFound: false,
- type: 'application/json',
- setEncoding: [Function: bound ],
- redirects: [] },
- status: 403 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement