diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-05-19 03:13:02 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-05-19 03:13:02 -0400 |
commit | ffc69576f2832d705a1b1f8ef35d534029b5f1ca (patch) | |
tree | 9e66cab91f071f5071a5278e03ab4fb26c8180fc /src/discord/store.hpp | |
parent | 2bed7f161b47c63370147318d0fa90b778667bc5 (diff) | |
download | abaddon-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.hpp | 2 |
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 }; |