summaryrefslogtreecommitdiff
path: root/discord/discord.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-10-28 00:31:35 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-10-28 00:31:35 -0400
commitd425997c263a089e8c0075a6f89fd792a3652923 (patch)
tree85f7fa8e37f4beb795e6d726f0972611abe5cfdb /discord/discord.hpp
parent84b1b62e0e1aa03dd59be5cd44caab47db77e637 (diff)
downloadabaddon-portaudio-d425997c263a089e8c0075a6f89fd792a3652923.tar.gz
abaddon-portaudio-d425997c263a089e8c0075a6f89fd792a3652923.zip
rewrite store
this probably should have been broken up into smaller commits. oh well
Diffstat (limited to 'discord/discord.hpp')
-rw-r--r--discord/discord.hpp10
1 files changed, 1 insertions, 9 deletions
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<Snowflake> GetGuilds() const;
const UserData &GetUserData() const;
const UserSettings &GetUserSettings() const;
std::vector<Snowflake> GetUserSortedGuilds() const;
std::vector<Message> GetMessagesForChannel(Snowflake id, size_t limit = 50) const;
- std::vector<Snowflake> GetMessageIDsForChannel(Snowflake id) const;
+ std::vector<Message> GetMessagesBefore(Snowflake channel_id, Snowflake message_id, size_t limit = 50) const;
std::set<Snowflake> GetPrivateChannels() const;
EPremiumType GetSelfPremiumType() const;