Skip to main content

Variable: GuildLimits

const GuildLimits: object

Namespace containing limits related to Discord guilds.

Type declaration

MaximumAnimatedEmojis

readonly MaximumAnimatedEmojis: 50 = 50

Maximum animated emojis allowed in a guild.

MaximumChannels

readonly MaximumChannels: 500 = 500

Maximum channels allowed per guild, including category channels.

MaximumEmojis

readonly MaximumEmojis: 100 = 100

Maximum emojis (static and animated) allowed in a guild.

MaximumRoles

readonly MaximumRoles: 250 = 250

Maximum roles allowed in a guild.

MaximumScheduledOrActiveEvents

readonly MaximumScheduledOrActiveEvents: 100 = 100

Maximum scheduled or active events allowed in a guild.

MaximumStaticEmojis

readonly MaximumStaticEmojis: 50 = 50

Maximum static emojis allowed in a guild.

MaximumStickers

readonly MaximumStickers: 5 = 5

Maximum stickers allowed in a guild.

MaximumUserGuildsToFetch

readonly MaximumUserGuildsToFetch: 200 = 200

Maximum number of user guilds to return from the user guilds API.

MinimumUserGuildsToFetch

readonly MinimumUserGuildsToFetch: 1 = 1

Minimum number of user guilds to return from the user guilds API.

Source

projects/utilities/packages/discord-utilities/src/lib/limits.ts:136