Merge pull request #29 from austinhuang0131/patch-1
Solved the issue on my bot: Blame API channel_post update!
This commit is contained in:
commit
9af30d527e
@ -170,7 +170,7 @@ export default class Bot extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
update.forEach(res => {
|
update.forEach(res => {
|
||||||
const msg = res.message || res.edited_message;
|
const msg = res.message || res.edited_message || res.channel_post;
|
||||||
let text = msg.text;
|
let text = msg.text;
|
||||||
if (!text) {
|
if (!text) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user