mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 07:06:28 +00:00
autoreplysticker fuckmember 批量修复错误
This commit is contained in:
parent
4478768bc9
commit
a9fa76f2f3
@ -63,8 +63,12 @@ async def ars_getall(message: Message) -> None:
|
||||
sticker_pack_list = []
|
||||
await sleep(2)
|
||||
sendtext = '\n\n'.join(sticker_pack_list)
|
||||
try:
|
||||
await message.client.send_message(message.chat_id, sendtext)
|
||||
await message.delete()
|
||||
except ValueError:
|
||||
await message.client.send_message(message.chat_id, '您还没有添加贴纸包。')
|
||||
await message.delete()
|
||||
|
||||
|
||||
async def ars_help(message: Message) -> None:
|
||||
|
@ -34,7 +34,7 @@ async def fuck_member(context):
|
||||
if day < 7:
|
||||
day = 7
|
||||
text += '由于输入的数据过小,时间自动设置为 7 天。\n'
|
||||
except (KeyError or ValueError):
|
||||
except (KeyError, ValueError):
|
||||
day = 7
|
||||
text += '由于输入的数据错误,时间自动设置为 7 天。\n'
|
||||
else:
|
||||
|
@ -372,7 +372,7 @@
|
||||
},
|
||||
{
|
||||
"name": "autoreplysticker",
|
||||
"version": "1.231",
|
||||
"version": "1.232",
|
||||
"section": "chat",
|
||||
"maintainer": "Pentacene",
|
||||
"size": "12 kb",
|
||||
@ -592,7 +592,7 @@
|
||||
},
|
||||
{
|
||||
"name": "fuckmember",
|
||||
"version": "1.032",
|
||||
"version": "1.033",
|
||||
"section": "daily",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "3.0 kb",
|
||||
|
Loading…
Reference in New Issue
Block a user