mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Potential fix for option saving
This commit is contained in:
@@ -56,7 +56,7 @@ namespace UserGroupTag
|
||||
tagDictionary[groupName] = memberList;
|
||||
|
||||
userGroupOption.SetValue(tagDictionary);
|
||||
_db.Update(userGroupOption);
|
||||
_db.AddOrUpdate(userGroupOption);
|
||||
|
||||
_userCache.SetValue(repliedMessage.From.Id, repliedMessage.From, Int32.MaxValue);
|
||||
await Bot.SendTextMessageAsync(chatId, $"{from.ToHtml()} добавлен в группу {groupName}",
|
||||
|
||||
Reference in New Issue
Block a user