Merge pull request #32 from austinhuang0131/patch-2
Added edited_channel_post.
This commit is contained in:
commit
5c350631c2
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user