mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-05-22 13:41:33 +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:
parent
908812a3d9
commit
fc017c8255
@ -4,7 +4,7 @@ order: 3
|
||||
---
|
||||
# 用户协议
|
||||
|
||||
1. 本项目遵循`MIT`协议,你可以自由使用,修改,分发,但是请保留原作者信息
|
||||
1. 本项目遵循`LSO`协议,你可以自由使用,修改,分发,但是请保留原作者信息
|
||||
2. 你可以选择开启`auto_report`(默认开启),轻雪会收集以下内容
|
||||
- 运行环境的设备信息:CPU,内存,系统信息及Python信息
|
||||
- 插件信息(不含插件数据)
|
||||
|
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
|
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved
|
||||
Copyright (C) 2020-2025 LiteyukiStudio. All Rights Reserved
|
||||
|
||||
@Time : 2024/8/11 下午11:07
|
||||
@Author : snowykami
|
||||
|
Loading…
x
Reference in New Issue
Block a user