Plug-in: yvlu, autochangename -> Fix some issues

This commit is contained in:
汐洛呐 2022-06-26 12:04:04 +00:00 committed by GitHub
parent fff7367feb
commit 92482952c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View File

@ -9,7 +9,6 @@ pip_install("emoji")
from emoji import emojize
from pagermaid import logs, scheduler, bot
from pagermaid.listener import listener
@ -24,7 +23,7 @@ time_emoji_symb = [
]
@scheduler.scheduled_job("interval", seconds=30, id="autochangename")
@scheduler.scheduled_job("cron", second=0, id="autochangename")
async def change_name_auto():
try:
time_cur = datetime.utcnow().replace(tzinfo=timezone.utc).astimezone(timezone(

View File

@ -229,6 +229,16 @@
"supported": true,
"des-short": "Sticker Tools",
"des": "Sticker Tools"
},
{
"name": "yvlu",
"version": "1.22",
"section": "chat",
"maintainer": "xtaodada, xiluo",
"size": "10.4 kb",
"supported": true,
"des-short": "将回复的消息转换成语录图片",
"des": "将回复的消息或者输入字符串转换成语录图片。\n指令-yvlu -yvlu_"
}
]
}