mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-01 09:44:44 +08:00
10 lines
216 B
Mcfunction
10 lines
216 B
Mcfunction
api send_private_msg user_id=qq message=msg
|
|
sleep 3
|
|
|
|
# 使用asyncio.create_task()创建一个新的任务,不等待任务完成直接执行下一条命令
|
|
nohup function hello
|
|
|
|
sleep 10
|
|
|
|
# cancel所有的tasks
|
|
end |