Solved the issue on my bot: Blame API channel_post update! #29

Merged
austinhuang0131 merged 1 commits from patch-1 into master 2016-11-22 18:43:26 +00:00

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;