Update index.js
This commit is contained in:
parent
12ffd75527
commit
2cc18a3eb8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user