Expand description
A set of constants used by the library.
Structs§
- Close
Code - An enum representing the gateway close codes.
- Opcode
- An enum representing the gateway opcodes.
Constants§
- EMBED_
MAX_ COUNT - The maximum number of embeds in a message.
- EMBED_
MAX_ LENGTH - The maximum length of the textual size of an embed.
- GATEWAY_
VERSION - The gateway version used by the library. The gateway URL is retrieved via the REST API.
- LARGE_
THRESHOLD - The large threshold to send on identify.
- MEMBER_
FETCH_ LIMIT - The maximum number of members the bot can fetch at once
- MESSAGE_
CODE_ LIMIT - The maximum unicode code points allowed within a message by Discord.
- MESSAGE_
SEARCH_ CONTENT_ CODE_ LIMIT - The maximum unicode code points allowed within the content param of a message search by Discord.
- MESSAGE_
SEARCH_ MAX_ ATTACHMENT_ FILENAME_ CODE_ LIMIT - The maximum unicode code points allowed for each attachment filename param of a message search by Discord.
- MESSAGE_
SEARCH_ MAX_ CHANNELS_ COUNT - The maximum number of channel ids allowed in a message search by Discord.
- MESSAGE_
SEARCH_ MAX_ ITEMS_ COUNT - The maximum number of items allowed in various parameters (users, roles, embed providers, etc) in a message search by Discord.
- MESSAGE_
SEARCH_ MAX_ STRING_ ITEM_ CODE_ LIMIT - The maximum unicode code points allowed for each item of various parameters (users, roles, embed providers, etc) in a message search by Discord.
- STICKER_
MAX_ COUNT - The maximum number of stickers in a message.