From 0f043a40eab9ded7f41506ea8375fe10879c6b4a Mon Sep 17 00:00:00 2001 From: c3b2a <62082214+c3b2a@users.noreply.github.com> Date: Sat, 23 Jan 2021 07:55:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=9A=E6=97=B6=E7=B2=BE?= =?UTF-8?q?=E5=87=86=E5=BA=A6=20(#101)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update msgst.py * Update list.json --- list.json | 6 +++--- msgst.py | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/list.json b/list.json index cc36cc7..4b3f43b 100644 --- a/list.json +++ b/list.json @@ -372,12 +372,12 @@ }, { "name": "msgst", - "version": "1.0", + "version": "1.1", "section": "chat", "maintainer": "c3b2a", - "size": "3.0 kb", + "size": "3.1 kb", "supported": true, - "des-short": "消息每天定时发送", + "des-short": "每天定时发送消息", "des": "命令: msgst, msgset。" } ] diff --git a/msgst.py b/msgst.py index 3526c0f..a114e9d 100644 --- a/msgst.py +++ b/msgst.py @@ -1,4 +1,4 @@ -import asyncio +import time, asyncio from pagermaid import bot, redis, redis_status from pagermaid.listener import listener @@ -24,7 +24,7 @@ async def del_msg(context, t_lim): @listener(is_plugin=True, outgoing=True, command="msgst", description="消息每天定时发送", - parameters="new