discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

Attachment options doesn't show a error when an attachment is too big

Open xiboon opened this issue 1 year ago • 0 comments

Description

if you try using a slash command with attachment options, and you upload a file over the 8mb limit then it will basically freeze and stop the app from sending messages and possibly doing other requests. The app does seem to make other request liek for avatars, attachments or message history.

Steps to Reproduce

  1. use a slash command with attachment options
  2. upload an attachment over 8mb (or the guild size limit probably)

Expected Behavior

Show an error message before sending the command.

Current Behavior

The client freezes and doesn't send the command.

Screenshots/Videos

image

Client and System Information

Stable 145048 (c70f9f6) Windows 10 64-bit

it does happen on browser too. it happens with all libraries so doesn't apply

xiboon avatar Sep 02 '22 19:09 xiboon