telegram magic
This commit is contained in:
@ -29,8 +29,8 @@ export default async bot => {
|
||||
f: e => {
|
||||
const links = e.message.match(regex)?.filter(link => !link.includes("f0ck.me")) || [];
|
||||
|
||||
if(e.photo)
|
||||
links.push(e.photo);
|
||||
if(e.media)
|
||||
links.push(e.media);
|
||||
|
||||
if(links.length === 0)
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user