mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-24 21:53:36 +00:00
格式统一portball
This commit is contained in:
parent
95da441c26
commit
00562b8d4a
@ -6,7 +6,7 @@ from datetime import timedelta
|
||||
from telethon.tl.types import ChannelParticipantsAdmins
|
||||
|
||||
|
||||
@listener(incoming=True, outgoing=True, command="portball",
|
||||
@listener(is_plugin=True, incoming=True, outgoing=True, command="portball",
|
||||
description="回复你要临时禁言的人的消息来实现XX秒的禁言",
|
||||
parameters="<理由>(空格)<时间/秒>")
|
||||
async def portball(context):
|
||||
@ -63,4 +63,4 @@ async def portball(context):
|
||||
try:
|
||||
await context.delete()
|
||||
except:
|
||||
pass
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user