premium 仅群组可用

This commit is contained in:
omg-xtao 2022-09-26 19:17:44 +08:00 committed by GitHub
parent c7ebb06c26
commit 3daacbb13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ from pyrogram.enums import ChatMemberStatus, ParseMode
@listener(command="premium", @listener(command="premium",
groups_only=True,
description="分遗产咯") description="分遗产咯")
async def premium(bot: Client, context: Message): async def premium(bot: Client, context: Message):
context = await context.edit("Please wait...") context = await context.edit("Please wait...")