bin fix: No module named requests (#114)

This commit is contained in:
Bojin Li 2022-12-22 15:13:25 +11:00 committed by GitHub
parent fef7d425b3
commit a8606b15dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -1,9 +1,12 @@
import json
import requests
from json.decoder import JSONDecodeError
from pyrogram import Client
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",

View File

@ -92,7 +92,7 @@
},
{
"name": "bin",
"version": "1.021",
"version": "1.022",
"section": "daily",
"maintainer": "paulkm",
"size": "2.09 kb",
@ -881,4 +881,4 @@
"des": "copy_sticker_set 复制整个贴纸包"
}
]
}
}