Skip to content

Commit

Permalink
Update Discord .NET API to v3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Makar8000 committed Mar 28, 2023
1 parent d0e3b17 commit 9811b03
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions ACT_DiscordTriggers/ACT_DiscordTriggers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<PropertyGroup>
<TargetFramework>net48</TargetFramework>
<AssemblyTitle>ACT_DiscordTriggers</AssemblyTitle>
<AssemblyVersion>1.0.2.2</AssemblyVersion>
<FileVersion>1.0.2.2</FileVersion>
<AssemblyVersion>1.0.2.3</AssemblyVersion>
<FileVersion>1.0.2.3</FileVersion>
<Authors>Makar</Authors>
<Version>1.0.2.2</Version>
<Version>1.0.2.3</Version>
<RepositoryUrl>https://github.com/Makar8000/ACT-Discord-Triggers</RepositoryUrl>
<PackageProjectUrl>https://github.com/Makar8000/ACT-Discord-Triggers</PackageProjectUrl>
<Description>An ACT plugin for routing audio to discord</Description>
Expand Down
18 changes: 9 additions & 9 deletions DiscordAPI/DiscordAPI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<AssemblyTitle>DiscordAPI</AssemblyTitle>
<Product>DiscordAPI</Product>
<Copyright></Copyright>
<AssemblyVersion>1.3.9.0</AssemblyVersion>
<FileVersion>1.3.9.0</FileVersion>
<AssemblyVersion>1.3.10.0</AssemblyVersion>
<FileVersion>1.3.10.0</FileVersion>
<OutputPath>bin\$(Configuration)\</OutputPath>
<AutoGenerateBindingRedirects>False</AutoGenerateBindingRedirects>
</PropertyGroup>
Expand All @@ -22,13 +22,13 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Discord.Net" Version="3.9.0-20230302.10" />
<PackageReference Include="Discord.Net.Commands" Version="3.9.0-build-20230302.10" />
<PackageReference Include="Discord.Net.Core" Version="3.9.0-build-20230302.10" />
<PackageReference Include="Discord.Net.Interactions" Version="3.9.0-build-20230302.10" />
<PackageReference Include="Discord.Net.Rest" Version="3.9.0-build-20230302.10" />
<PackageReference Include="Discord.Net.Webhook" Version="3.9.0-build-20230302.10" />
<PackageReference Include="Discord.Net.WebSocket" Version="3.9.0-build-20230302.10" />
<PackageReference Include="Discord.Net" Version="3.10.0" />
<PackageReference Include="Discord.Net.Commands" Version="3.10.0" />
<PackageReference Include="Discord.Net.Core" Version="3.10.0" />
<PackageReference Include="Discord.Net.Interactions" Version="3.10.0" />
<PackageReference Include="Discord.Net.Rest" Version="3.10.0" />
<PackageReference Include="Discord.Net.Webhook" Version="3.10.0" />
<PackageReference Include="Discord.Net.WebSocket" Version="3.10.0" />
<PackageReference Include="NAudio" Version="2.1.0" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions DiscordAPI/DiscordClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public static async void InIt(string logintoken) {

public static async Task deInIt() {
bot.Ready -= Bot_Ready;
bot.Log -= Bot_Log;
if (audioClient?.ConnectionState == ConnectionState.Connected) {
LeaveChannel();
}
Expand Down

0 comments on commit 9811b03

Please sign in to comment.