Advertisement
Guest User

Untitled

a guest
Dec 11th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.59 KB | None | 0 0
  1. I am ready!
  2. { Error: Forbidden
  3. at Request.callback (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:626:17)
  4. at C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:795:18
  5. at Stream.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\parsers\json.js:16:7)
  6. at emitNone (events.js:86:13)
  7. at Stream.emit (events.js:185:7)
  8. at Unzip.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\utils.js:112:12)
  9. at emitNone (events.js:91:20)
  10. at Unzip.emit (events.js:185:7)
  11. at endReadableNT (_stream_readable.js:974:12)
  12. at _combinedTickCallback (internal/process/next_tick.js:74:11)
  13. original: null,
  14. response:
  15. Response {
  16. domain: null,
  17. _events: {},
  18. _eventsCount: 0,
  19. _maxListeners: undefined,
  20. res:
  21. IncomingMessage {
  22. _readableState: [Object],
  23. readable: false,
  24. domain: null,
  25. _events: [Object],
  26. _eventsCount: 3,
  27. _maxListeners: undefined,
  28. socket: [Object],
  29. connection: [Object],
  30. httpVersionMajor: 1,
  31. httpVersionMinor: 1,
  32. httpVersion: '1.1',
  33. complete: true,
  34. headers: [Object],
  35. rawHeaders: [Object],
  36. trailers: {},
  37. rawTrailers: [],
  38. upgrade: false,
  39. url: '',
  40. method: null,
  41. statusCode: 403,
  42. statusMessage: 'FORBIDDEN',
  43. client: [Object],
  44. _consuming: true,
  45. _dumped: false,
  46. req: [Object],
  47. setEncoding: [Function],
  48. on: [Function],
  49. text: '{"code": 50013, "message": "Missing Permissions"}',
  50. read: [Function],
  51. body: [Object] },
  52. request:
  53. Request {
  54. domain: null,
  55. _events: [Object],
  56. _eventsCount: 1,
  57. _maxListeners: undefined,
  58. _agent: false,
  59. _formData: null,
  60. method: 'DELETE',
  61. url: 'https://discordapp.com/api/v6/channels/248660926364909569/messages/257386500730126337',
  62. _header: [Object],
  63. header: [Object],
  64. writable: true,
  65. _redirects: 0,
  66. _maxRedirects: 5,
  67. cookies: '',
  68. qs: {},
  69. qsRaw: [],
  70. _redirectList: [],
  71. _streamRequest: false,
  72. req: [Object],
  73. protocol: 'https:',
  74. host: 'discordapp.com',
  75. _callback: [Function],
  76. res: [Object],
  77. _timeout: 0,
  78. response: [Circular],
  79. called: true },
  80. req:
  81. ClientRequest {
  82. domain: null,
  83. _events: [Object],
  84. _eventsCount: 4,
  85. _maxListeners: undefined,
  86. output: [],
  87. outputEncodings: [],
  88. outputCallbacks: [],
  89. outputSize: 0,
  90. writable: true,
  91. _last: true,
  92. upgrading: false,
  93. chunkedEncoding: false,
  94. shouldKeepAlive: false,
  95. useChunkedEncodingByDefault: false,
  96. sendDate: false,
  97. _removedHeader: {},
  98. _contentLength: 0,
  99. _hasBody: true,
  100. _trailer: '',
  101. finished: true,
  102. _headerSent: true,
  103. socket: [Object],
  104. connection: [Object],
  105. _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',
  106. _headers: [Object],
  107. _headerNames: [Object],
  108. _onPendingData: null,
  109. agent: [Object],
  110. socketPath: undefined,
  111. timeout: undefined,
  112. method: 'DELETE',
  113. path: '/api/v6/channels/248660926364909569/messages/257386500730126337',
  114. _ended: true,
  115. parser: null,
  116. res: [Object] },
  117. links: {},
  118. text: '{"code": 50013, "message": "Missing Permissions"}',
  119. body: { code: 50013, message: 'Missing Permissions' },
  120. files: undefined,
  121. buffered: true,
  122. headers:
  123. { date: 'Sun, 11 Dec 2016 06:02:04 GMT',
  124. 'content-type': 'application/json',
  125. 'transfer-encoding': 'chunked',
  126. connection: 'close',
  127. 'set-cookie': [Object],
  128. 'strict-transport-security': 'max-age=31536000; includeSubDomains',
  129. via: '1.1 google',
  130. 'alt-svc': 'clear',
  131. server: 'cloudflare-nginx',
  132. 'cf-ray': '30f6b9c18e4b1bbb-SEA',
  133. 'content-encoding': 'gzip' },
  134. header:
  135. { date: 'Sun, 11 Dec 2016 06:02:04 GMT',
  136. 'content-type': 'application/json',
  137. 'transfer-encoding': 'chunked',
  138. connection: 'close',
  139. 'set-cookie': [Object],
  140. 'strict-transport-security': 'max-age=31536000; includeSubDomains',
  141. via: '1.1 google',
  142. 'alt-svc': 'clear',
  143. server: 'cloudflare-nginx',
  144. 'cf-ray': '30f6b9c18e4b1bbb-SEA',
  145. 'content-encoding': 'gzip' },
  146. statusCode: 403,
  147. status: 403,
  148. statusType: 4,
  149. info: false,
  150. ok: false,
  151. redirect: false,
  152. clientError: true,
  153. serverError: false,
  154. error:
  155. { Error: cannot DELETE /api/v6/channels/248660926364909569/messages/257386500730126337 (403)
  156. at Response.toError (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\response.js:106:13)
  157. at Response._setStatusProperties (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\response.js:183:12)
  158. at new Response (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\response.js:42:8)
  159. at Request._emitResponse (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:659:20)
  160. at C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\index.js:795:38
  161. at Stream.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\parsers\json.js:16:7)
  162. at emitNone (events.js:86:13)
  163. at Stream.emit (events.js:185:7)
  164. at Unzip.<anonymous> (C:\Users\Doppl\Desktop\Snowbot\node_modules\superagent\lib\node\utils.js:112:12)
  165. at emitNone (events.js:91:20)
  166. status: 403,
  167. text: '{"code": 50013, "message": "Missing Permissions"}',
  168. method: 'DELETE',
  169. path: '/api/v6/channels/248660926364909569/messages/257386500730126337' },
  170. accepted: false,
  171. noContent: false,
  172. badRequest: false,
  173. unauthorized: false,
  174. notAcceptable: false,
  175. forbidden: true,
  176. notFound: false,
  177. type: 'application/json',
  178. setEncoding: [Function: bound ],
  179. redirects: [] },
  180. status: 403 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement