forked from serenity-rs/poise
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect 2000 character limit in builtins::servers (serenity-rs#204)
* Split builtins::servers message into header and body Don't append servers that would push beyond the 2000 character limit from discord. * Rewrite servers function Unify "unavailable", "private" and overflowing guilds into "hidden" guilds (summarized as "remaining servers" in the output) * Fit even more lines And add safe guard in case any future dev accidentally makes the last line longer than 60 chars and makes the response go beyond 2000 chars --------- Co-authored-by: kangalioo <[email protected]>
- Loading branch information
Showing
1 changed file
with
55 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters