Skip to content

Embed cannot contain more than 25 fields #42

@yahu1031

Description

@yahu1031

If the fields count is more than 25, the bot fails and restarts.

2021-11-30T19:45:20.484835+00:00 app[worker.1]: Unhandled exception:
2021-11-30T19:45:20.484844+00:00 app[worker.1]: EmbedBuilderArgumentException: Embed cannot contain more than 25 fields
2021-11-30T19:45:20.484845+00:00 app[worker.1]: #0      EmbedBuilder.build (package:nyxx/src/utils/builders/EmbedBuilder.dart:128:7)
2021-11-30T19:45:20.484845+00:00 app[worker.1]: #1      MessageBuilder.build (package:nyxx/src/utils/builders/MessageBuilder.dart:160:67)
2021-11-30T19:45:20.484846+00:00 app[worker.1]: #2      ComponentMessageBuilder.build (package:nyxx_interactions/src/builders/ComponentBuilder.dart:219:14)
2021-11-30T19:45:20.484846+00:00 app[worker.1]: #3      _HttpEndpoints.sendMessage (package:nyxx/src/internal/_HttpEndpoints.dart:1096:25)
2021-11-30T19:45:20.484847+00:00 app[worker.1]: #4      CacheableTextChannel.sendMessage (package:nyxx/src/core/channel/TextChannel.dart:45:33)
2021-11-30T19:45:20.484847+00:00 app[worker.1]: #5      MessageNotifier.onMsgEvent.<anonymous closure> (file:///app/src/notifiers/on_msg.notifier.dart:156:43)
2021-11-30T19:45:20.484847+00:00 app[worker.1]: <asynchronous suspension>

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed a fix ASAPthis issue needs a fix as soon as possible

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions