From 400ba876bfc754b951c3d2a349356efa8d1f8cb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Thu, 1 Sep 2022 09:12:59 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/post.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/genshin/post.py b/plugins/genshin/post.py index b8f8c17..364a06a 100644 --- a/plugins/genshin/post.py +++ b/plugins/genshin/post.py @@ -65,10 +65,6 @@ class Post(BasePlugins): user = update.effective_user message = update.message Log.info(f"用户 {user.full_name}[{user.id}] POST命令请求") - admin_list = await self.service.admin.get_admin_list() - if user.id not in admin_list: - await message.reply_text("你不是BOT管理员,不能使用此命令!") - return ConversationHandler.END post_handler_data = context.chat_data.get("post_handler_data") if post_handler_data is None: post_handler_data = PostHandlerData()