mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 08:27:38 +00:00
修复portball incoming
This commit is contained in:
parent
3776a03b25
commit
d89a985681
@ -152,7 +152,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "portball",
|
"name": "portball",
|
||||||
"version": "1.3",
|
"version": "1.31",
|
||||||
"section": "chat",
|
"section": "chat",
|
||||||
"maintainer": "Pentacene",
|
"maintainer": "Pentacene",
|
||||||
"size": "3.6 kb",
|
"size": "3.6 kb",
|
||||||
|
@ -6,7 +6,7 @@ from datetime import timedelta
|
|||||||
from telethon.tl.types import ChannelParticipantsAdmins
|
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秒的禁言",
|
description="回复你要临时禁言的人的消息来实现XX秒的禁言",
|
||||||
parameters="<理由>(空格)<时间/秒>")
|
parameters="<理由>(空格)<时间/秒>")
|
||||||
async def portball(context):
|
async def portball(context):
|
||||||
|
Loading…
Reference in New Issue
Block a user