Expand description
A set of constants used by the library.
Modules§
Enums§
- 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.
- STICKER_
MAX_ COUNT - The maximum number of stickers in a message.
- USER_
AGENT - The UserAgent sent along with every request.