mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 10:02:23 +00:00
commit
c7ad074509
@ -71,3 +71,7 @@
|
||||
- `whois` : 查询域名信息
|
||||
- `resou` : 知乎,抖音,微博实时热搜
|
||||
- `tel` : 查询手机号码归属地等信息
|
||||
- `neteaseshuffle` : 随即一首网易云热门曲目
|
||||
- `neteasemusic` : 发送一首来自网易云的音乐
|
||||
- `shangliu` : 彩虹屁生成器,毒鸡汤生成器,营销号生成器
|
||||
- `diss` : 祖安语言生成器
|
||||
|
@ -152,7 +152,7 @@
|
||||
},
|
||||
{
|
||||
"name": "portball",
|
||||
"version": "1.2",
|
||||
"version": "1.21",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "3.6 kb",
|
||||
|
@ -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