mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-22 03:19:18 +00:00
Plug-in: yvlu, autochangename -> Fix some issues
This commit is contained in:
parent
fff7367feb
commit
92482952c7
@ -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(
|
||||
|
10
list.json
10
list.json
@ -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_"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user