summaryrefslogtreecommitdiff
path: root/src/discord/store.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-05-19 03:13:02 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-05-19 03:13:02 -0400
commitffc69576f2832d705a1b1f8ef35d534029b5f1ca (patch)
tree9e66cab91f071f5071a5278e03ab4fb26c8180fc /src/discord/store.hpp
parent2bed7f161b47c63370147318d0fa90b778667bc5 (diff)
downloadabaddon-portaudio-ffc69576f2832d705a1b1f8ef35d534029b5f1ca.tar.gz
abaddon-portaudio-ffc69576f2832d705a1b1f8ef35d534029b5f1ca.zip
fix role updates (fixes #69, fixes #70)
Diffstat (limited to 'src/discord/store.hpp')
-rw-r--r--src/discord/store.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/store.hpp b/src/discord/store.hpp
index 4cf5e14..d863fa6 100644
--- a/src/discord/store.hpp
+++ b/src/discord/store.hpp
@@ -54,6 +54,7 @@ public:
void ClearChannel(Snowflake id);
void ClearBan(Snowflake guild_id, Snowflake user_id);
void ClearRecipient(Snowflake channel_id, Snowflake user_id);
+ void ClearRole(Snowflake id);
std::unordered_set<Snowflake> GetChannels() const;
std::unordered_set<Snowflake> GetGuilds() const;
@@ -305,5 +306,6 @@ private:
STMT(get_reactions);
STMT(get_chan_ids_parent);
STMT(get_guild_member_ids);
+ STMT(clr_role);
#undef STMT
};