修复portball incoming

This commit is contained in:
b miao 2020-11-17 22:56:35 +08:00
parent 3776a03b25
commit d89a985681
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@
},
{
"name": "portball",
"version": "1.3",
"version": "1.31",
"section": "chat",
"maintainer": "Pentacene",
"size": "3.6 kb",

View File

@ -6,7 +6,7 @@ from datetime import timedelta
from telethon.tl.types import ChannelParticipantsAdmins
@listener(is_plugin=True, incoming=True, outgoing=True, command="portball",
@listener(is_plugin=True, outgoing=True, command="portball",
description="回复你要临时禁言的人的消息来实现XX秒的禁言",
parameters="<理由>(空格)<时间/秒>")
async def portball(context):