Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix /history being cut off #52

Merged
merged 1 commit into from
Feb 22, 2024
Merged

Fix /history being cut off #52

merged 1 commit into from
Feb 22, 2024

Conversation

elliotgoodrich
Copy link
Owner

Due to the 2Kb limit in Discord messages we are now at the point where the watching history returned in /history is incomplete.

To improve the number of entries returned, we remove the IMDb link, which takes up about 50% of the message limit.

If there are additional items, display a button message component that will display the next set of entries.

Due to the 2Kb limit in Discord messages we are now at the point where
the watching history returned in `/history` is incomplete.

To improve the number of entries returned, we remove the IMDb link,
which takes up about 50% of the message limit.

If there are additional items, display a button message component that
will display the next set of entries.
@elliotgoodrich elliotgoodrich linked an issue Feb 22, 2024 that may be closed by this pull request
@elliotgoodrich elliotgoodrich merged commit 74b37c3 into main Feb 22, 2024
2 checks passed
@elliotgoodrich elliotgoodrich deleted the fix-history-length branch February 22, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Increase the size of /history
1 participant