/help crashes the bot. #15

Closed
opened 2024-09-23 22:54:49 +00:00 by voidf1sh · 3 comments
Owner

Haven't grabbed logs yet.

image

Haven't grabbed logs yet. ![image](/attachments/0afb4b78-dfb8-422e-b39f-af39662490e8)
Author
Owner
/s/d/n/logs> cat 2024-09-23_22-55-26-error.txt
(node:9) DeprecationWarning: MessageEmbed#addField is deprecated and will be removed in the next major update. Use MessageEmbed#addFields instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
/usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:350
      throw new DiscordAPIError(data, res.status, request);
            ^

DiscordAPIError: Invalid Form Body
data.embeds[0].fields: Must be 25 or fewer in length.

Node.js v18.20.1
``` /s/d/n/logs> cat 2024-09-23_22-55-26-error.txt (node:9) DeprecationWarning: MessageEmbed#addField is deprecated and will be removed in the next major update. Use MessageEmbed#addFields instead. (Use `node --trace-deprecation ...` to show where the warning was created) /usr/src/app/node_modules/discord.js/src/rest/RequestHandler.js:350 throw new DiscordAPIError(data, res.status, request); ^ DiscordAPIError: Invalid Form Body data.embeds[0].fields: Must be 25 or fewer in length. Node.js v18.20.1 ```
voidf1sh added reference v3.3.2 2024-09-24 01:07:15 +00:00
voidf1sh changed reference from v3.3.2 to v3.3.2 2024-09-24 01:08:07 +00:00
voidf1sh added the
bug
label 2024-09-24 01:08:14 +00:00
voidf1sh added this to the v3.3.2 Publish milestone 2024-09-24 01:09:02 +00:00
voidf1sh self-assigned this 2024-09-24 01:09:06 +00:00
Author
Owner

f231df89d8 Switched the help messages from being put in separate fields to being in one description with some new formatting. Ready for testing but will likely need polish.

f231df89d8 Switched the help messages from being put in separate fields to being in one description with some new formatting. Ready for testing but will likely need polish.
Author
Owner

Fixed in v3.3.2 #17

Fixed in v3.3.2 #17
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: voidf1sh/nodbot#15
No description provided.