Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
* Set downloader to null after using it
  • Loading branch information
Voltstro committed Oct 31, 2020
1 parent 31eef72 commit 4bb5607
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Pootis-Bot/Pootis-Bot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Discord.Net" Version="2.3.0-dev-20200904.2" />
<PackageReference Include="Discord.Net" Version="2.3.0-dev-20201028.4" />
<PackageReference Include="Google.Apis.Customsearch.v1" Version="1.49.0.2084" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.9" />
<PackageReference Include="MP3Sharp" Version="1.0.5" />
Expand All @@ -52,10 +52,10 @@
<PackageReference Include="Serilog.Sinks.Async" Version="1.4.0" />
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
<PackageReference Include="Serilog.Sinks.File" Version="4.1.0" />
<PackageReference Include="SteamWebAPI2" Version="4.2.5" />
<PackageReference Include="SteamWebAPI2" Version="4.2.6" />
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20371.2" />
<PackageReference Include="Wiki.Net" Version="3.0.0" />
<PackageReference Include="YoutubeExplode" Version="5.1.7" />
<PackageReference Include="YoutubeExplode" Version="5.1.8" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions src/Pootis-Bot/Services/Audio/Music/MusicService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,8 @@ private async Task<string> GetOrDownloadSong(string search, IUserMessage message
else
songFileLocation = await musicList.Downloader.GetOrDownloadSong(search, message);

musicList.Downloader = null;

return songFileLocation;
}

Expand Down

0 comments on commit 4bb5607

Please sign in to comment.