summaryrefslogtreecommitdiff
path: root/src/constants.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-07-09 01:57:56 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-07-09 01:57:56 -0400
commit02ce353c6d35af004dc1b6f5ae9f68fbb8540b54 (patch)
tree49dda3f8880b76dd002dcf8c4f5f314171f12fca /src/constants.hpp
parent241d9a2140b07acb4212c1fc79b70f1f36be9c78 (diff)
downloadabaddon-portaudio-02ce353c6d35af004dc1b6f5ae9f68fbb8540b54.tar.gz
abaddon-portaudio-02ce353c6d35af004dc1b6f5ae9f68fbb8540b54.zip
check nitro size restriction + fix replying border
Diffstat (limited to 'src/constants.hpp')
-rw-r--r--src/constants.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/constants.hpp b/src/constants.hpp
index 30de2ae..9b2413d 100644
--- a/src/constants.hpp
+++ b/src/constants.hpp
@@ -3,3 +3,8 @@
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 = 128;
+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;