[core] update dependencies

This commit is contained in:
Andriy
2023-01-02 23:42:07 +02:00
parent ff78d8e2ae
commit bcdb0fefee
4 changed files with 8 additions and 9 deletions
@@ -67,7 +67,7 @@ namespace West.Entertainment.Handler.Fun
Message!.Text, Message!.Text!.ToLower());
_logger.LogDebug("AnimationFileId: {FileId}", animationFileId);
if (animationFileId.IsNullOrEmpty())
if (string.IsNullOrEmpty(animationFileId))
{
_logger.LogDebug("AnimationFileId is empty. Ignoring.");
return false;
+1 -1
View File
@@ -33,7 +33,7 @@ namespace UserGroupTag
{
// var groupName = group.Text;
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;
}