Compare commits

..

2 Commits

Author SHA1 Message Date
1be456edb4 Merge pull request 'e.photo -> e.media' (#27) from dev into master
Reviewed-on: #27
2022-05-07 10:40:50 +02:00
Flummi
1066e8772b e.photo -> e.media 2022-05-07 10:40:37 +02:00

View File

@ -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 = "";