mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-09-05 22:56:24 +00:00
📝 文档与代码注释信息微调
Some checks failed
Docker Image Build / build (push) Failing after 15s
Deploy VitePress site to Liteyuki PaaS / build (push) Failing after 1m2s
Pre-commit checks / pre-commit (3.10) (push) Failing after 1m46s
Pre-commit checks / pre-commit (3.11) (push) Failing after 1m38s
Pre-commit checks / pre-commit (3.12) (push) Failing after 1m45s
Pre-commit checks / pre-commit (3.13) (push) Failing after 1m43s
Some checks failed
Docker Image Build / build (push) Failing after 15s
Deploy VitePress site to Liteyuki PaaS / build (push) Failing after 1m2s
Pre-commit checks / pre-commit (3.10) (push) Failing after 1m46s
Pre-commit checks / pre-commit (3.11) (push) Failing after 1m38s
Pre-commit checks / pre-commit (3.12) (push) Failing after 1m45s
Pre-commit checks / pre-commit (3.13) (push) Failing after 1m43s
This commit is contained in:
7
src/resources/vanilla_resource/functions/func.md
Normal file
7
src/resources/vanilla_resource/functions/func.md
Normal file
@ -0,0 +1,7 @@
|
||||
## 文件类型允许
|
||||
|
||||
- `.mcfunction`
|
||||
|
||||
- `.lyf`
|
||||
|
||||
- `lyfunction`
|
18
src/resources/vanilla_resource/functions/hello.mcfunction → src/resources/vanilla_resource/functions/hello.lyfunction
Executable file → Normal file
18
src/resources/vanilla_resource/functions/hello.mcfunction → src/resources/vanilla_resource/functions/hello.lyfunction
Executable file → Normal file
@ -1,10 +1,10 @@
|
||||
api send_private_msg user_id=qq message=msg
|
||||
sleep 3
|
||||
|
||||
# 使用asyncio.create_task()创建一个新的任务,不等待任务完成直接执行下一条命令
|
||||
nohup function hello
|
||||
|
||||
sleep 10
|
||||
|
||||
# cancel所有的tasks
|
||||
api send_private_msg user_id=qq message=msg
|
||||
sleep 3
|
||||
|
||||
# 使用asyncio.create_task()创建一个新的任务,不等待任务完成直接执行下一条命令
|
||||
nohup function hello
|
||||
|
||||
sleep 10
|
||||
|
||||
# cancel所有的tasks
|
||||
end
|
8
src/resources/vanilla_resource/functions/poke.mcfunction → src/resources/vanilla_resource/functions/poke.lyfunction
Executable file → Normal file
8
src/resources/vanilla_resource/functions/poke.mcfunction → src/resources/vanilla_resource/functions/poke.lyfunction
Executable file → Normal file
@ -1,5 +1,5 @@
|
||||
api friend_poke user_id=user_id
|
||||
api friend_poke user_id=user_id
|
||||
sleep 0.2
|
||||
nohup function poke
|
||||
api friend_poke user_id=user_id
|
||||
api friend_poke user_id=user_id
|
||||
sleep 0.2
|
||||
nohup function poke
|
||||
await
|
Reference in New Issue
Block a user