master #50
|
@ -20,7 +20,7 @@ export default async bot => {
|
||||||
|
|
||||||
let trigger;
|
let trigger;
|
||||||
|
|
||||||
if(e.photo) {
|
if(e.media) {
|
||||||
trigger = [...bot._trigger.entries()].filter(t => t[1].name === "parser");
|
trigger = [...bot._trigger.entries()].filter(t => t[1].name === "parser");
|
||||||
if(!e.message)
|
if(!e.message)
|
||||||
e.message = "";
|
e.message = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user