Compare commits
No commits in common. "95b360e72700322dcccee05680825452023aae8f" and "c5b7daa5d8101bd5886645c71d27c9c91924f62f" have entirely different histories.
95b360e727
...
c5b7daa5d8
6
main.py
6
main.py
@ -162,11 +162,9 @@ class MyPlugin(Star):
|
|||||||
conn.close()
|
conn.close()
|
||||||
yield event.plain_result(f"背包列表:\n{baglist_str}")
|
yield event.plain_result(f"背包列表:\n{baglist_str}")
|
||||||
|
|
||||||
testNumber = 0
|
|
||||||
@filter.command("测试")
|
@filter.command("测试")
|
||||||
async def test(self, event: AstrMessageEvent):
|
async def test(self, event: AstrMessageEvent, name: str):
|
||||||
testNumber = testNumber + 1
|
yield event.plain_result(f"测试结果")
|
||||||
yield event.plain_result(f"累积结果: {testNumber}")
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user