e.photo -> e.media
This commit is contained in:
parent
73577441d1
commit
1066e8772b
|
@ -20,7 +20,7 @@ export default async bot => {
|
|||
|
||||
let trigger;
|
||||
|
||||
if(e.photo) {
|
||||
if(e.media) {
|
||||
trigger = [...bot._trigger.entries()].filter(t => t[1].name === "parser");
|
||||
if(!e.message)
|
||||
e.message = "";
|
||||
|
|
Loading…
Reference in New Issue
Block a user