Merge pull request 'e.photo -> e.media' (#27) from dev into master
Reviewed-on: #27
This commit is contained in:
commit
1be456edb4
|
@ -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