fixing missing dependency
This commit is contained in:
		| @@ -10,7 +10,7 @@ RUN dotnet build -c Release -o out | ||||
|  | ||||
| # Build runtime image | ||||
| FROM mcr.microsoft.com/dotnet/aspnet:6.0 | ||||
| RUN apt update && apt install -y ffmpeg libopus-dev opus-tools | ||||
| RUN apt update && apt install -y ffmpeg libopus-dev opus-tools libsodium-dev | ||||
| WORKDIR /App | ||||
| COPY --from=build-env /App/out . | ||||
| ENTRYPOINT ["dotnet", "Kasbot.dll"] | ||||
| @@ -1,13 +1,8 @@ | ||||
| using AngleSharp; | ||||
| using Discord; | ||||
| using Discord; | ||||
| using Discord.Audio; | ||||
| using Discord.Audio.Streams; | ||||
| using Discord.Commands; | ||||
| using Discord.WebSocket; | ||||
| using System; | ||||
| using System.Diagnostics; | ||||
| using System.IO; | ||||
| using System.IO.Pipes; | ||||
| using YoutubeExplode; | ||||
| using YoutubeExplode.Videos.Streams; | ||||
|  | ||||
| @@ -42,7 +37,7 @@ namespace Kasbot.Services | ||||
|         { | ||||
|             IVoiceChannel channel = (Context.User as IVoiceState).VoiceChannel; | ||||
|  | ||||
|             string filename = string.Empty; | ||||
|             string filename; | ||||
|  | ||||
|             try | ||||
|             { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user