From 3b4edbfa16861b5013663396e1af827ba889e9df Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 21 Sep 2020 18:47:34 -0400 Subject: join/leave guild --- discord/store.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'discord/store.hpp') diff --git a/discord/store.hpp b/discord/store.hpp index 45b1c41..6477b50 100644 --- a/discord/store.hpp +++ b/discord/store.hpp @@ -29,6 +29,9 @@ public: const Message *GetMessage(Snowflake id) const; const GuildMember *GetGuildMemberData(Snowflake guild_id, Snowflake user_id) const; + void ClearGuild(Snowflake id); + void ClearChannel(Snowflake id); + using users_type = std::unordered_map; using channels_type = std::unordered_map; using guilds_type = std::unordered_map; -- cgit v1.2.3