Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复: CaiBot修复查背包模糊搜索名字显示不完整 #477

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/CaiBot/MessageHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ public static async Task HandleMessageAsync(string receivedData)
result = new RestObject
{
{ "type", "lookbag" },
{ "name", name },
{ "name", plr.name },
{ "exist", 1 },
{ "inventory", itemList },
{ "buffs", buffs },
Expand Down Expand Up @@ -636,7 +636,7 @@ public static async Task HandleMessageAsync(string receivedData)
{
{ "type", "lookbag" },
{ "exist", 1 },
{ "name", name },
{ "name", acc.Name },
{ "inventory", itemList },
{ "buffs", buffs },
{ "group", (long)jsonObject["group"]! }
Expand Down
2 changes: 1 addition & 1 deletion src/CaiBot/Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Plugin : TerrariaPlugin
public override string Author => "Cai,羽学";
public override string Description => "CaiBot机器人的适配插件";
public override string Name => "CaiBotPlugin";
public static readonly Version VersionNum = new(2024, 9, 16, 1); //日期+版本号(0,1,2...)
public static readonly Version VersionNum = new(2024, 9, 17, 1); //日期+版本号(0,1,2...)
public override Version Version => VersionNum;

//插件的构造器
Expand Down
1 change: 1 addition & 0 deletions src/CaiBot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
## 更新日志

```
v2024.9.17.1 修复查背包模糊搜索名字显示不完整
v2024.9.16.1 远程指令日志记录执行群和执行者
v2024.9.8.1 新增插件列表功能
v2024.8.25.1 发送base64前用gzip压缩
Expand Down
Loading