summaryrefslogtreecommitdiff
path: root/discord/usersettings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/usersettings.hpp')
-rw-r--r--discord/usersettings.hpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/discord/usersettings.hpp b/discord/usersettings.hpp
deleted file mode 100644
index 6d37b3c..0000000
--- a/discord/usersettings.hpp
+++ /dev/null
@@ -1,47 +0,0 @@
-#pragma once
-#include "json.hpp"
-#include "snowflake.hpp"
-#include <string>
-
-struct UserSettingsGuildFoldersEntry {
- int Color = -1; // null
- std::vector<Snowflake> GuildIDs;
- Snowflake ID; // null (this can be a snowflake as a string or an int that isnt a snowflake lol)
- std::string Name; // null
-
- friend void from_json(const nlohmann::json &j, UserSettingsGuildFoldersEntry &m);
-};
-
-struct UserSettings {
- int TimezoneOffset; //
- std::string Theme; //
- bool AreStreamNotificationsEnabled; //
- std::string Status; //
- bool ShouldShowCurrentGame; //
- // std::vector<Unknown> RestrictedGuilds; //
- bool ShouldRenderReactions; //
- bool ShouldRenderEmbeds; //
- bool IsNativePhoneIntegrationEnabled; //
- bool ShouldMessageDisplayCompact; //
- std::string Locale; //
- bool ShouldInlineEmbedMedia; //
- bool ShouldInlineAttachmentMedia; //
- std::vector<Snowflake> GuildPositions; // deprecated?
- std::vector<UserSettingsGuildFoldersEntry> GuildFolders; //
- bool ShouldGIFAutoplay; //
- // Unknown FriendSourceFlags; //
- int ExplicitContentFilter; //
- bool IsTTSCommandEnabled; //
- bool ShouldDisableGamesTab; //
- bool DeveloperMode; //
- bool ShouldDetectPlatformAccounts; //
- bool AreDefaultGuildsRestricted; //
- // Unknown CustomStatus; // null
- bool ShouldConvertEmoticons; //
- bool IsContactSyncEnabled; //
- bool ShouldAnimateEmojis; //
- bool IsAccessibilityDetectionAllowed; //
- int AFKTimeout;
-
- friend void from_json(const nlohmann::json &j, UserSettings &m);
-};