diff --git a/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs b/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs index b5b0f99..5cde7dd 100644 --- a/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs +++ b/ChatBot/Services/Telegram/Commands/TelegramCommandProcessor.cs @@ -71,7 +71,7 @@ namespace ChatBot.Services.Telegram.Commands if (botInfo != null) { bool hasBotMention = messageText.Contains($"@{botInfo.Username}"); - bool hasOtherMentions = messageText.Contains("@") && !hasBotMention; + bool hasOtherMentions = messageText.Contains('@') && !hasBotMention; if (!hasBotMention && hasOtherMentions) {