Skip to content

Separate message after reaching 2000 characters #1184

Closed Answered by SQKo
Cvar1984 asked this question in Q&A
Discussion options

You must be logged in to vote

Message contents are indeed limited to 2000 characters, but if you also use embed, you can put longer description, However it is limited up to 6000 characters for every embed contents

Or you can split responses message like @CommandString said, but I suggest avoid using channel send message method.

On design notes though, Quran chapters lists are big to display in one page, I suggest you create a paginator (that, having next/previous button), but if the goal is to find & search then select a Quran chapter, i suggest using Interaction command autocomplete, the following is example (Code requires v10/dev-master branch):

$discord->listenCommand(['cmd', 'sub', 'int'], function (Interaction $i…

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
4 replies
@Cvar1984
Comment options

@CommandString
Comment options

@Cvar1984
Comment options

@SQKo
Comment options

Comment options

You must be logged in to vote
4 replies
@Cvar1984
Comment options

@CommandString
Comment options

@CommandString
Comment options

@SQKo
Comment options

Answer selected by Cvar1984
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants