Added edited_channel_post. #32

Merged
austinhuang0131 merged 1 commits from patch-2 into master 2016-12-17 05:46:46 +00:00
Showing only changes of commit 222c00ba20 - Show all commits

View File

@ -170,7 +170,7 @@ export default class Bot extends EventEmitter {
} }
update.forEach(res => { 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; let text = msg.text;
if (!text) { if (!text) {
return; return;