From d425997c263a089e8c0075a6f89fd792a3652923 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Thu, 28 Oct 2021 00:31:35 -0400 Subject: rewrite store this probably should have been broken up into smaller commits. oh well --- discord/discord.hpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'discord/discord.hpp') diff --git a/discord/discord.hpp b/discord/discord.hpp index aefe1f6..4b9bc82 100644 --- a/discord/discord.hpp +++ b/discord/discord.hpp @@ -53,20 +53,12 @@ public: bool IsStarted() const; bool IsStoreValid() const; - using guilds_type = Store::guilds_type; - using channels_type = Store::channels_type; - using messages_type = Store::messages_type; - using users_type = Store::users_type; - using roles_type = Store::roles_type; - using members_type = Store::members_type; - using permission_overwrites_type = Store::permission_overwrites_type; - std::unordered_set GetGuilds() const; const UserData &GetUserData() const; const UserSettings &GetUserSettings() const; std::vector GetUserSortedGuilds() const; std::vector GetMessagesForChannel(Snowflake id, size_t limit = 50) const; - std::vector GetMessageIDsForChannel(Snowflake id) const; + std::vector GetMessagesBefore(Snowflake channel_id, Snowflake message_id, size_t limit = 50) const; std::set GetPrivateChannels() const; EPremiumType GetSelfPremiumType() const; -- cgit v1.2.3