mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
update 3rd party deps
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user