Skip to content

EmbedBuilderArgumentException: Embed description is too long (2048 characters limit) #2

Description

@Anikate-De

When the bot user tries to run code which might have an output that exceeds 2048 characters, the bot fails to responds, breaking UX flow

The following error shows up in the bot Logs -

[EmbedBuilderArgumentException: Embed description is too long (2048 characters limit)]. Stacktrace:
EmbedBuilder.build (package:nyxx/src/utils/builders/embed_builder.dart:104:7)
MessageBuilder.build (package:nyxx/src/utils/builders/message_builder.dart:176:65)
ComponentMessageBuilder.build (package:nyxx_interactions/src/builders/component_builder.dart:252:18)
HttpEndpoints.sendMessage (package:nyxx/src/internal/http_endpoints.dart:1177:25)
CacheableTextChannel.sendMessage (package:nyxx/src/core/channel/cacheable_text_channel.dart:52:80)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions