Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Update to new slack module
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Apr 5, 2020
1 parent c0da086 commit 27f7e8f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/service/slack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path')
const gui = require('gui')
const keytar = require('keytar')

const {WebClient} = require('@slack/client')
const {WebClient} = require('@slack/web-api')

const Service = require('../../model/service')
const SlackAccount = require('./slack-account')
Expand Down
2 changes: 1 addition & 1 deletion lib/service/slack/slack-account.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const bounds = require('binary-search-bounds')
const {ErrorCode, RTMClient} = require('@slack/client')
const {ErrorCode, RTMClient} = require('@slack/rtm-api')

const Account = require('../../model/account')
const SlackMessage = require('./slack-message')
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
"url": "https://github.com/yue/wey/issues"
},
"dependencies": {
"@slack/client": "5.0.2",
"@slack/rtm-api": "5.0.3",
"@slack/web-api": "5.8.0",
"axios": "0.18.0",
"binary-search-bounds": "2.0.4",
"download-yue": "2.x",
Expand Down

0 comments on commit 27f7e8f

Please sign in to comment.