yoesoff

rtm = new RtmClient(bot_token);

Dec 17th, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.75 KB | None | 0 0
  1. RTMClient {
  2.   _token: 'xoxb-284609----------------------------',
  3.   slackAPIUrl: 'https://slack.com/api/',
  4.   transport: [Function: requestTransport],
  5.   retryConfig: { forever: true, maxTimeout: 1800000, randomize: true },
  6.   requestQueue:
  7.    { tasks: [ [Object] ],
  8.      concurrency: 1,
  9.      payload: 1,
  10.      saturated: [Function: noop],
  11.      empty: [Function: noop],
  12.      drain: [Function: noop],
  13.      started: true,
  14.      paused: false,
  15.      push: [Function: push],
  16.      kill: [Function: kill],
  17.      unshift: [Function: unshift],
  18.      process: [Function: process],
  19.      length: [Function: length],
  20.      running: [Function: running],
  21.      workersList: [Function: workersList],
  22.      idle: [Function: idle],
  23.      pause: [Function: pause],
  24.      resume: [Function: resume] },
  25.   logger: [Function: wrapper],
  26.   _rtm: RtmFacet { name: 'rtm', makeAPICall: [Function: wrapper] },
  27.   _chat: ChatFacet { name: 'chat', makeAPICall: [Function: wrapper] },
  28.   _socketFn: [Function: wsTransport],
  29.   ws: undefined,
  30.   _messageId: 1,
  31.   _pendingMessages: {},
  32.   _msgResponseHandlers: {},
  33.   _msgChannelLookup: {},
  34.   _useRtmConnect: undefined,
  35.   dataStore:
  36.    SlackMemoryDataStore {
  37.      logger: [Function: wrapper],
  38.      users: {},
  39.      channels: {},
  40.      dms: {},
  41.      groups: {},
  42.      bots: {},
  43.      teams: {} },
  44.   MAX_PONG_INTERVAL: 20000,
  45.   WS_PING_INTERVAL: 5000,
  46.   autoReconnect: false,
  47.   _events:
  48.    { authenticated: EE { fn: [Function], context: [Circular], once: false },
  49.      open: EE { fn: [Function], context: [Circular], once: false },
  50.      message:
  51.       EE {
  52.         fn: [Function: handleRtmMessage],
  53.         context: [Circular],
  54.         once: false } },
  55.   authenticated: false,
  56.   connected: false,
  57.   _connecting: true,
  58.   _startOpts: undefined }
Advertisement
Add Comment
Please, Sign In to add comment