Update index.js

This commit is contained in:
Austin Huang 2016-11-22 13:39:07 -05:00 committed by GitHub
parent 12ffd75527
commit 2cc18a3eb8

View File

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