mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 00:04:32 +00:00
parent
13d58dd826
commit
6bcac9b18f
@ -332,7 +332,7 @@
|
||||
},
|
||||
{
|
||||
"name": "vip",
|
||||
"version": "0.2",
|
||||
"version": "0.21",
|
||||
"section": "chat",
|
||||
"maintainer": "xtaodada",
|
||||
"size": "4.0 kb",
|
||||
|
2
vip.py
2
vip.py
@ -15,7 +15,7 @@ async def weather(context):
|
||||
await context.edit("出错了呜呜呜 ~ 无效的参数。")
|
||||
return
|
||||
async with bot.conversation('PagerMaid_Modify_bot') as conversation:
|
||||
await conversation.send_message('/weather ' + message)
|
||||
await conversation.send_message('/weather_api ' + message)
|
||||
chat_response = await conversation.get_response()
|
||||
await bot.send_read_acknowledge(conversation.chat_id)
|
||||
weather_text = chat_response.text
|
||||
|
Loading…
Reference in New Issue
Block a user