From a8606b15dcd9f17b601929616d859a79aa94e7b9 Mon Sep 17 00:00:00 2001 From: Bojin Li Date: Thu, 22 Dec 2022 15:13:25 +1100 Subject: [PATCH] bin fix: No module named requests (#114) --- bin/main.py | 7 +++++-- list.json | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/bin/main.py b/bin/main.py index 8a0bdb2..711e6db 100644 --- a/bin/main.py +++ b/bin/main.py @@ -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", diff --git a/list.json b/list.json index a82081f..8a17cc4 100644 --- a/list.json +++ b/list.json @@ -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 复制整个贴纸包" } ] -} \ No newline at end of file +}