mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 11:58:06 +00:00
sendat keyword lottery 修改权限等级
This commit is contained in:
parent
2efb98eada
commit
cc61e7ab69
@ -254,6 +254,7 @@ async def from_msg_get_task_id(message: Message):
|
||||
|
||||
@listener(command="keyword",
|
||||
parameters="指定参数",
|
||||
need_admin=True,
|
||||
description="关键词回复\n\nhttps://telegra.ph/PagerMaid-keyword-07-12")
|
||||
async def keyword_set(message: Message):
|
||||
if message.arguments == "h" or len(message.parameter) == 0:
|
||||
|
@ -292,7 +292,7 @@
|
||||
},
|
||||
{
|
||||
"name": "sendat",
|
||||
"version": "1.003",
|
||||
"version": "1.004",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "12.2 kb",
|
||||
@ -312,7 +312,7 @@
|
||||
},
|
||||
{
|
||||
"name": "keyword",
|
||||
"version": "1.001",
|
||||
"version": "1.002",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "10.9 kb",
|
||||
@ -362,7 +362,7 @@
|
||||
},
|
||||
{
|
||||
"name": "lottery",
|
||||
"version": "1.001",
|
||||
"version": "1.002",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.51 kb",
|
||||
|
@ -91,6 +91,7 @@ async def create_lottery(chat_id: int, num: int, win: int, title: str, keyword:
|
||||
|
||||
@listener(command="lottery",
|
||||
groups_only=True,
|
||||
need_admin=True,
|
||||
parameters="<奖品数/人数> <关键词> <标题> / 强制开奖",
|
||||
description=f"举行抽奖活动\n\n例如:,{alias_command('lottery')} 1/10 测试 测试")
|
||||
async def lottery(message: Message):
|
||||
|
@ -287,6 +287,7 @@ async def from_msg_get_task_id(message: Message):
|
||||
|
||||
@listener(command="sendat",
|
||||
parameters="时间 | 消息内容",
|
||||
need_admin=True,
|
||||
description=f"定时发送消息\n请使用 ,{alias_command('sendat')} h 查看可用命令")
|
||||
async def send_at(message: Message):
|
||||
if message.arguments == "h" or len(message.parameter) == 0:
|
||||
|
Loading…
Reference in New Issue
Block a user