Skip to content
This repository has been archived by the owner on May 13, 2020. It is now read-only.

RangeError: RichEmbeds may not exceed 25 fields. #2

Open
GrizzlyRP opened this issue Jan 15, 2020 · 1 comment
Open

RangeError: RichEmbeds may not exceed 25 fields. #2

GrizzlyRP opened this issue Jan 15, 2020 · 1 comment

Comments

@GrizzlyRP
Copy link

RangeError: RichEmbeds may not exceed 25 fields.

for players if you have over 25 players.

@ThatZiv
Copy link
Owner

ThatZiv commented Jan 15, 2020

A good work around for this is to fork the discord.js RichEmbed class and make it ignore when rich embeds are > 25. Another way to get all players (>than 25 players) is to iterate through the players and add them to a string instead of a field to overcome the discord rich embed limit. But you will have to worry about char limits though if you do that, ive never tested it but i have thought about it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants