mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
修了个body包数据为空的bug,虽然不知道发生了啥,但它确实是被修好了
This commit is contained in:
parent
f8ccb467ba
commit
098e81d1c8
@ -1,13 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="075d8bd1-a584-4439-8e19-b0c2acd4ed59" name="Default Changelist" comment="">
|
<list default="true" id="075d8bd1-a584-4439-8e19-b0c2acd4ed59" name="Default Changelist" comment="修了个body包数据为空的bug,虽然不知道发生了啥,但它确实是被修好了" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/plugin_ai_false/ai_false.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_ai_false/ai_false.go" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/plugin_bilibili/fansDaily.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_bilibili/fansDaily.go" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/plugin_bilibili/info.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_bilibili/info.go" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/plugin_bilibili/live_info.go" beforeDir="false" afterPath="$PROJECT_DIR$/plugin_bilibili/live_info.go" afterDir="false" />
|
|
||||||
</list>
|
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
@ -120,6 +114,10 @@
|
|||||||
</option>
|
</option>
|
||||||
<option name="oldMeFiltersMigrated" value="true" />
|
<option name="oldMeFiltersMigrated" value="true" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="VcsManagerConfiguration">
|
||||||
|
<MESSAGE value="修了个body包数据为空的bug,虽然不知道发生了啥,但它确实是被修好了" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="修了个body包数据为空的bug,虽然不知道发生了啥,但它确实是被修好了" />
|
||||||
|
</component>
|
||||||
<component name="VgoProject">
|
<component name="VgoProject">
|
||||||
<integration-enabled>true</integration-enabled>
|
<integration-enabled>true</integration-enabled>
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@ -16,7 +16,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func init() { // 插件主体
|
func init() { // 插件主体
|
||||||
zero.OnFullMatchGroup([]string{"检查身体", "自检", "启动自检", "系统状态"}).
|
zero.OnFullMatchGroup([]string{"检查身体", "自检", "启动自检", "系统状态"}, zero.AdminPermission).
|
||||||
Handle(func(ctx *zero.Ctx) {
|
Handle(func(ctx *zero.Ctx) {
|
||||||
ctx.SendChain(message.Text(
|
ctx.SendChain(message.Text(
|
||||||
"* CPU占用率: ", getCpuPercent(), "%\n",
|
"* CPU占用率: ", getCpuPercent(), "%\n",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user