Skip to content

Commit

Permalink
misc 修改命令响应
Browse files Browse the repository at this point in the history
  • Loading branch information
chr233 committed Dec 20, 2023
1 parent 0789d9e commit 56ece3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ASFEnhance/Account/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1098,7 +1098,7 @@ private static string NotificationTargetToString(NotificationTarget target)
return Langs.NetworkError;
}

return result.Value ? Langs.ExistsApiKey : Langs.NoExistsApiKey;
return bot.FormatBotResponse(result.Value ? Langs.ExistsApiKey : Langs.NoExistsApiKey);
}

/// <summary>
Expand Down Expand Up @@ -1142,7 +1142,7 @@ private static string NotificationTargetToString(NotificationTarget target)

await WebRequest.RevokeApiKey(bot).ConfigureAwait(false);

return Langs.Success;
return bot.FormatBotResponse(Langs.Success);
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.0.5.0</Version>
<Version>2.0.5.1</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 56ece3d

Please sign in to comment.