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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user