Compare commits
No commits in common. "aef43f0720280eba07b8337f6a3c33e8cebaead2" and "66dc9e65fbd32d990efe55a61e8e14a29416f25c" have entirely different histories.
aef43f0720
...
66dc9e65fb
10
main.py
10
main.py
@ -327,16 +327,6 @@ class MyPlugin(Star):
|
||||
yield "获取表情包失败"
|
||||
else:
|
||||
yield "API请求失败"
|
||||
|
||||
@filter.command("来句骚话")
|
||||
async def lovelive(self, event: AstrMessageEvent):
|
||||
async with aiohttp.ClientSession() as session:
|
||||
async with session.get('https://api.lovelive.tools/api/SweetNothings') as resp:
|
||||
chain = [
|
||||
Comp.At(qq=event.get_sender_id()), # At 消息发送者
|
||||
Comp.Plain(resp)
|
||||
]
|
||||
|
||||
|
||||
@filter.command("部署")
|
||||
async def bushutest(self, event: AstrMessageEvent):
|
||||
|
Loading…
x
Reference in New Issue
Block a user