mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[core] update dependencies
This commit is contained in:
@@ -6,7 +6,6 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Microsoft.Extensions.Configuration;
|
using Microsoft.Extensions.Configuration;
|
||||||
using Microsoft.Extensions.Logging;
|
|
||||||
|
|
||||||
namespace Kruzya.TelegramBot.Core
|
namespace Kruzya.TelegramBot.Core
|
||||||
{
|
{
|
||||||
|
|||||||
+6
-6
@@ -8,15 +8,15 @@
|
|||||||
|
|
||||||
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Core' " />
|
<PropertyGroup Condition=" '$(RunConfiguration)' == 'Core' " />
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="AleXr64.BotFramework" Version="0.6.16-g4b4da305e4" />
|
<PackageReference Include="AleXr64.BotFramework" Version="0.7.1-gbac99a86ca" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.1">
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.1">
|
||||||
<PrivateAssets>all</PrivateAssets>
|
<PrivateAssets>all</PrivateAssets>
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="6.0.1" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="7.0.1" />
|
||||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.1" />
|
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="7.0.1" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="6.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Hosting.Systemd" Version="7.0.0" />
|
||||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="6.0.0" />
|
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="7.0.0-silver.1" />
|
||||||
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
|
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ namespace West.Entertainment.Handler.Fun
|
|||||||
Message!.Text, Message!.Text!.ToLower());
|
Message!.Text, Message!.Text!.ToLower());
|
||||||
_logger.LogDebug("AnimationFileId: {FileId}", animationFileId);
|
_logger.LogDebug("AnimationFileId: {FileId}", animationFileId);
|
||||||
|
|
||||||
if (animationFileId.IsNullOrEmpty())
|
if (string.IsNullOrEmpty(animationFileId))
|
||||||
{
|
{
|
||||||
_logger.LogDebug("AnimationFileId is empty. Ignoring.");
|
_logger.LogDebug("AnimationFileId is empty. Ignoring.");
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace UserGroupTag
|
|||||||
{
|
{
|
||||||
// var groupName = group.Text;
|
// var groupName = group.Text;
|
||||||
var repliedMessage = RawUpdate.Message!.ReplyToMessage;
|
var repliedMessage = RawUpdate.Message!.ReplyToMessage;
|
||||||
if (repliedMessage == null || repliedMessage.From!.IsBot || !(await Bot.CanPunishMember(Chat, From)) || groupName.IsNullOrEmpty())
|
if (repliedMessage == null || repliedMessage.From!.IsBot || !(await Bot.CanPunishMember(Chat, From)) || string.IsNullOrEmpty(groupName))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user