internal void RemoveReaction(DiscordEmoji dr) { if (Reactions.ContainsKey(dr)) { Reactions[dr]--; if (Reactions[dr] == 0) { Reactions.TryRemove(dr, out int something); } } }
internal void RemoveReaction(DiscordEmoji dr, ulong m) { if (Reactions.ContainsKey(dr) && _membersvoted.Contains(m)) { Reactions[dr]--; if (Reactions[dr] == 0) { Reactions.TryRemove(dr, out int something); } // Just making sure no double member slipped in :^) //_membersvoted.RemoveAll(x => x == m); <-- this might cause issues // Though that should be impossible? } }