Merge pull request #5 from xtaodada/master

merge
This commit is contained in:
AAA 2020-08-26 11:06:05 +08:00 committed by GitHub
commit c7ad074509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -71,3 +71,7 @@
- `whois` : 查询域名信息
- `resou` : 知乎,抖音,微博实时热搜
- `tel` : 查询手机号码归属地等信息
- `neteaseshuffle` : 随即一首网易云热门曲目
- `neteasemusic` : 发送一首来自网易云的音乐
- `shangliu` : 彩虹屁生成器,毒鸡汤生成器,营销号生成器
- `diss` : 祖安语言生成器

View File

@ -152,7 +152,7 @@
},
{
"name": "portball",
"version": "1.2",
"version": "1.21",
"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(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