Skip to content

Commit

Permalink
修复LLOneBot下无法引用图片消息搜图的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
GardenHamster committed May 27, 2024
1 parent 276915c commit fe616ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<RootNamespace>TheresaBot.GoCqHttp</RootNamespace>
<StartupObject></StartupObject>
<BaseOutputPath></BaseOutputPath>
<Version>0.11.4</Version>
<Version>0.11.5</Version>
<Nullable>disable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<WarningLevel>3</WarningLevel>
Expand Down
2 changes: 1 addition & 1 deletion Theresa3rd-Bot/TheresaBot.Main/Common/BotConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace TheresaBot.Main.Common
{
public static class BotConfig
{
public const string BotVersion = "0.11.4";
public const string BotVersion = "0.11.5";
public const string BotHomepage = "https://www.theresa3rd.cn";
public static BotInfos BotInfos = new BotInfos(0, "Bot");
public static List<long> AcceptGroups = new();
Expand Down
2 changes: 1 addition & 1 deletion Theresa3rd-Bot/TheresaBot.Main/Handler/SaucenaoHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public async Task SearchSource(GroupQuoteCommand command)
DateTime startDateTime = DateTime.Now;
CoolingCache.SetHanding(command.GroupId, command.MemberId);//请求处理中
long quoteId = command.GetQuoteMessageId();
List<ImageRecordPO> imgRecords = quoteId > 0 ? recordService.GetImageRecord(Session.PlatformType, quoteId, command.GroupId) : new();
List<ImageRecordPO> imgRecords = quoteId != 0 ? recordService.GetImageRecord(Session.PlatformType, quoteId, command.GroupId) : new();
List<string> imgList = imgRecords.Select(o => o.HttpUrl).ToList();
if (imgList.Count == 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<RootNamespace>TheresaBot.MiraiHttpApi</RootNamespace>
<StartupObject></StartupObject>
<BaseOutputPath></BaseOutputPath>
<Version>0.11.4</Version>
<Version>0.11.5</Version>
<Nullable>disable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<WarningLevel>3</WarningLevel>
Expand Down

0 comments on commit fe616ec

Please sign in to comment.