Code cleanup

This commit is contained in:
2022-01-22 17:13:38 +03:00
parent 401f9fb529
commit ff63d6dfaa
13 changed files with 232 additions and 138 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ namespace UserGroupTag
tagDictionary[groupName] = memberList;
userGroupOption.SetValue(tagDictionary);
_db.MarkAsModified(userGroupOption);
_db.Update(userGroupOption);
_userCache.SetValue(repliedMessage.From.Id, repliedMessage.From, Int32.MaxValue);
await Bot.SendTextMessageAsync(chatId, $"{from.ToHtml()} добавлен в группу {groupName}",