Merge pull request #32 from austinhuang0131/patch-2

Added edited_channel_post.
This commit is contained in:
Mahdi Dibaiee 2016-12-17 09:16:46 +03:30 committed by GitHub
commit 5c350631c2

View File

@ -170,7 +170,7 @@ export default class Bot extends EventEmitter {
}
update.forEach(res => {
const msg = res.message || res.edited_message || res.channel_post;
const msg = res.message || res.edited_message || res.channel_post || res.edited_channel_post;
let text = msg.text;
if (!text) {
return;