2
0
mirror of https://github.com/Nick80835/microbot synced 2025-08-31 14:38:04 +00:00

add animated formats to booru's ext regex

This commit is contained in:
Nick80835
2023-03-10 15:03:08 -05:00
parent 9f9923ff17
commit aab5f53e29

View File

@@ -8,7 +8,7 @@ from telethon.tl.types import (InputMediaDocumentExternal,
from ubot import ldr
help_str = "Fetches images from Danbooru, Gelbooru, Konachan, Sankaku Complex and Yandere, takes tags as arguments."
ext_regex = compile(r"\.(jpg|jpeg|png)$")
ext_regex = compile(r"\.(jpg|jpeg|png|mp4|gif)$")
dan_api = Danbooru(ldr.aioclient)
gel_api = Gelbooru(ldr.aioclient)