summaryrefslogtreecommitdiff
path: root/abaddon.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-03-30 22:31:13 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-03-30 22:31:13 -0400
commit599a768459074559abed2a57fad789b0d8e48f9d (patch)
tree47296f72133f6ddccc84f2f8e47a4eed0ab37130 /abaddon.hpp
parentf4366fc0af088d7d78e2e571fb9b81e0c5693b51 (diff)
downloadabaddon-portaudio-599a768459074559abed2a57fad789b0d8e48f9d.tar.gz
abaddon-portaudio-599a768459074559abed2a57fad789b0d8e48f9d.zip
remove old messages when new ones come in to save resources
Diffstat (limited to 'abaddon.hpp')
-rw-r--r--abaddon.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/abaddon.hpp b/abaddon.hpp
index 8415bb7..16f1cf9 100644
--- a/abaddon.hpp
+++ b/abaddon.hpp
@@ -116,10 +116,9 @@ private:
DiscordClient m_discord;
std::string m_discord_token;
- // todo make these map snowflake to attribs
+
std::unordered_set<Snowflake> m_channels_requested;
std::unordered_set<Snowflake> m_channels_history_loaded;
- std::unordered_map<Snowflake, Snowflake> m_oldest_listed_message;
std::unordered_set<Snowflake> m_channels_history_loading;
ImageManager m_img_mgr;