Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Commit

Permalink
Merge pull request #105 from Jie2GG/Test
Browse files Browse the repository at this point in the history
修复音乐接口bug
  • Loading branch information
Jie2GG authored Oct 16, 2019
2 parents 094d726 + d7f228e commit 18c787c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Native.Csharp.Sdk/Cqp/CqApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ public string CqCode_Music (long id, string type = "qq", bool newStyle = false)
/// <returns>返回可发送的 CQ码</returns>
public string CqCode_Music (long id, MusicType type = MusicType.Tencent, MusicStyle style = MusicStyle.Old)
{
return string.Format ("[CQ:music,id={0},type=]", id, type.GetDescription (), (int)style);
return string.Format ("[CQ:music,id={0},type={1},style={2}]", id, type.GetDescription (), (int)style);
}
/// <summary>
/// 获取酷Q "音乐自定义" 代码
Expand Down
4 changes: 2 additions & 2 deletions Native.Csharp.Sdk/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion ("2.6.0.1013")]
[assembly: AssemblyFileVersion ("2.6.0.1013")]
[assembly: AssemblyVersion ("2.6.1.1016")]
[assembly: AssemblyFileVersion ("2.6.1.1016")]
4 changes: 2 additions & 2 deletions Native.Csharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion ("3.4.0.1013")]
[assembly: AssemblyFileVersion ("3.4.0.1013")]
[assembly: AssemblyVersion ("3.4.1.1016")]
[assembly: AssemblyFileVersion ("3.4.1.1016")]
4 changes: 4 additions & 0 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Native.SDK 更新日志
> 2019年10月13日 版本: V3.4.1.1016
1. 修复 音乐接口的bug

> 2019年10月13日 版本: V3.4.0.1013
1. 新增 群禁言事件 (Type: 104), 已升级 LibExport.tt 为新版本
Expand Down

0 comments on commit 18c787c

Please sign in to comment.