diff options
Diffstat (limited to 'discord/store.hpp')
-rw-r--r-- | discord/store.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<Snowflake, User>; using channels_type = std::unordered_map<Snowflake, Channel>; using guilds_type = std::unordered_map<Snowflake, Guild>; |