update 3rd party deps

This commit is contained in:
13xforever
2021-07-05 21:34:51 +05:00
parent 1e28a3f3d0
commit 47baf9640d
7 changed files with 10 additions and 6 deletions

View File

@@ -13,8 +13,8 @@
<PackageReference Include="Microsoft.Extensions.Caching.Memory" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
<PackageReference Include="StrawberryShake.CodeGeneration.CSharp.Analyzers" Version="11.3.0" />
<PackageReference Include="StrawberryShake.Transport.Http" Version="11.3.0" />
<PackageReference Include="StrawberryShake.CodeGeneration.CSharp.Analyzers" Version="11.3.1" />
<PackageReference Include="StrawberryShake.Transport.Http" Version="11.3.1" />
</ItemGroup>
</Project>

View File

@@ -16,6 +16,7 @@ using CompatBot.Database;
using CompatBot.Database.Providers;
using CompatBot.Utils;
using CompatBot.Utils.Extensions;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;

View File

@@ -2,6 +2,7 @@
using System.Text;
using System.Threading.Tasks;
using CompatBot.Utils;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;

View File

@@ -9,6 +9,7 @@ using CompatBot.Commands.Attributes;
using CompatBot.Database;
using CompatBot.Database.Providers;
using CompatBot.Utils;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.Entities;
using DSharpPlus.EventArgs;

View File

@@ -47,9 +47,9 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="DSharpPlus" Version="4.1.0-nightly-00892" />
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.1.0-nightly-00892" />
<PackageReference Include="DSharpPlus.Interactivity" Version="4.1.0-nightly-00892" />
<PackageReference Include="DSharpPlus" Version="4.1.0-nightly-00916" />
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.1.0-nightly-00916" />
<PackageReference Include="DSharpPlus.Interactivity" Version="4.1.0-nightly-00916" />
<PackageReference Include="Google.Apis.Drive.v3" Version="1.52.0.2354" />
<PackageReference Include="ksemenenko.ColorThief" Version="1.1.1.4" />
<PackageReference Include="MathParser.org-mXparser" Version="4.4.2" />

View File

@@ -8,6 +8,7 @@ using CompatBot.Database.Providers;
using CompatBot.Utils;
using CompatBot.Utils.Extensions;
using CompatBot.Utils.ResultFormatters;
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Exceptions;
using DSharpPlus.Entities;

View File

@@ -29,6 +29,6 @@ namespace CompatBot.Utils
internal static bool IsOnionLike(this DiscordMessage message)
=> !message.Channel.IsPrivate
&& (message.Author.Id == 197163728867688448ul
|| message.Author.Id == 272022580112654336ul && new Random().NextDouble() < 0.01);
|| message.Author.Id == 272022580112654336ul && new Random().NextDouble() < 0.1 * Config.FunMultiplier);
}
}