#Embed message might be over 1024 character limit

1 messages · Page 1 of 1 (latest)

hard mist
#

Hey, I'm my bot uses an embed to send a large message and there's an edge case where one of the fields might be over 1024 characters. What are my options for getting around that limit?

desert drum
#

You can use .slice(0, 1024) to guarantee that only the first 1024 or fewer characters are allowed

#

Alternatively, you'd have to split the message across multiple embeds

hard mist
#

Hmmm would it be possible to do that and make it look good?

#

mmm I suppose using the inline part might help