Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack APIの仕様変更に合わせて修正 #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

genya0407
Copy link

概要

APIの仕様が変わり、msg.message.rawMessage.channelがchannelのIDではなくchannelオブジェクトを返すようになった。
そのため、hubot-slack-voteが動作しなくなった(channel_not_foundエラーが出る)。

変更点

  • この変更に対応するために、msg.message.rawMessage.channel.idを用いるようにした。
  • 対応する変数名をchannelからchannel_idに変更した

動作確認

hubot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant