mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-29 11:37:55 +00:00
bin fix: No module named requests (#114)
This commit is contained in:
parent
fef7d425b3
commit
a8606b15dc
@ -1,9 +1,12 @@
|
|||||||
import json
|
import json
|
||||||
import requests
|
|
||||||
from json.decoder import JSONDecodeError
|
from json.decoder import JSONDecodeError
|
||||||
from pyrogram import Client
|
from pyrogram import Client
|
||||||
from pagermaid.listener import listener
|
from pagermaid.listener import listener
|
||||||
from pagermaid.utils import Message
|
from pagermaid.utils import Message, pip_install
|
||||||
|
|
||||||
|
pip_install("requests")
|
||||||
|
|
||||||
|
import requests
|
||||||
|
|
||||||
|
|
||||||
@listener(command="bin",
|
@listener(command="bin",
|
||||||
|
Loading…
Reference in New Issue
Block a user