Constants#
Snowflake#
- group DiscordLimitsSnowflake
General#
- group DiscordLimitsGeneral
Note
assume the worst-case scenario for strings, where each character is 4 bytes long (UTF8)
Defines
-
DISCORD_MAX_NAME_LEN 4 * 100 + 1#
-
DISCORD_MAX_TOPIC_LEN 4 * 1024 + 1#
-
DISCORD_MAX_DESCRIPTION_LEN 4 * 2048 + 1#
-
DISCORD_MAX_USERNAME_LEN 4 * 32 + 1#
-
DISCORD_MAX_DISCRIMINATOR_LEN 4 + 1#
-
DISCORD_MAX_REASON_LEN 4 * 512 + 1#
-
DISCORD_MAX_MESSAGE_LEN 4 * 2000 + 1#
-
DISCORD_MAX_PAYLOAD_LEN 4 * 4096 + 1#
-
DISCORD_MAX_VOICE_CONNECTIONS 512#
-
DISCORD_MAX_NAME_LEN 4 * 100 + 1#
Embed#
- group DiscordLimitsEmbed
Note
assume the worst-case scenario for strings, where each character is 4 bytes long (UTF8)
Webhook#
- group DiscordLimitsWebhook
Note
assume the worst-case scenario for strings, where each character is 4 bytes long (UTF8)
Defines
-
DISCORD_WEBHOOK_NAME_LEN 4 * 80 + 1#
-
DISCORD_WEBHOOK_NAME_LEN 4 * 80 + 1#