Skip to content

Conversation

commit111
Copy link
Contributor

@commit111 commit111 commented Apr 8, 2025

The bot currently breaks if the Ask Defang API response is greater than Discord's text message character limit of 2000 characters.

Here's what I did:

  • Added 'Previous/Next' buttons to properly display the bot's response in pages if it is too long

Extra changes:

  • Refactored/restructured functions for code clarity
  • Updated 'dotenv' in package json
  • Sanitized tokens before use in endpoints

@commit111 commit111 requested a review from nullfunc April 8, 2025 00:50
@commit111 commit111 merged commit 9bf9af9 into main Apr 8, 2025
3 checks passed
@commit111 commit111 deleted the linda-discord-bot-char-limit branch May 18, 2025 05:10
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.

2 participants