Skip to content

Commit

Permalink
fix: 修复插件示例报错 #105
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Sep 10, 2024
1 parent d71f99d commit 2f61058
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/code1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
async def code1(arg1):
global log, xiaomusic
log.info(f"code1:{arg1}")
await xiaomusic.do_tts("你好,我是自定义的测试口令")
did = xiaomusic._cur_did
await xiaomusic.do_tts(did, "你好,我是自定义的测试口令")

0 comments on commit 2f61058

Please sign in to comment.