diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-14 03:18:05 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-05-14 03:18:05 -0400 |
commit | 1c5f91201979d63ca4f96825f52ba1d5bcae06ef (patch) | |
tree | 8e78c141074210b0ed274372b12f63a1ac701bc2 /discord/channel.hpp | |
parent | 95eb6646415d859931532e7b22967b7c68ddb02b (diff) | |
parent | 223a18512473fc790f6ad72a8344061de92812c8 (diff) | |
download | abaddon-portaudio-1c5f91201979d63ca4f96825f52ba1d5bcae06ef.tar.gz abaddon-portaudio-1c5f91201979d63ca4f96825f52ba1d5bcae06ef.zip |
Merge branch 'master' into friends
Diffstat (limited to 'discord/channel.hpp')
-rw-r--r-- | discord/channel.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/discord/channel.hpp b/discord/channel.hpp index f1d75db..b9bfd6d 100644 --- a/discord/channel.hpp +++ b/discord/channel.hpp @@ -21,6 +21,22 @@ enum class ChannelType : int { GUILD_STAGE_VOICE = 13, }; +enum class StagePrivacy { + PUBLIC = 1, + GUILD_ONLY = 2, +}; + +constexpr const char *GetStagePrivacyDisplayString(StagePrivacy e) { + switch (e) { + case StagePrivacy::PUBLIC: + return "Public"; + case StagePrivacy::GUILD_ONLY: + return "Guild Only"; + default: + return "Unknown"; + } +} + struct ChannelData { Snowflake ID; ChannelType Type; |