summaryrefslogtreecommitdiff
path: root/src/constants.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/constants.hpp')
-rw-r--r--src/constants.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/constants.hpp b/src/constants.hpp
index 6c6276f..b1ef82b 100644
--- a/src/constants.hpp
+++ b/src/constants.hpp
@@ -1,4 +1,12 @@
+#pragma once
#include <cstdint>
constexpr static uint64_t SnowflakeSplitDifference = 600;
constexpr static int MaxMessagesForChatCull = 50; // this has to be 50 (for now) cuz that magic number is used in a couple other places and i dont feel like replacing them
+constexpr static int AttachmentItemSize = 120;
+constexpr static int BaseAttachmentSizeLimit = 8 * 1024 * 1024;
+constexpr static int NitroClassicAttachmentSizeLimit = 50 * 1024 * 1024;
+constexpr static int NitroAttachmentSizeLimit = 100 * 1024 * 1024;
+constexpr static int BoostLevel2AttachmentSizeLimit = 50 * 1024 * 1024;
+constexpr static int BoostLevel3AttachmentSizeLimit = 100 * 1024 * 1024;
+constexpr static int MaxMessagePayloadSize = 199 * 1024 * 1024;