riolubruh / YABDP4Nitro

Yet Another BetterDiscord Plugin for Nitro features. Unlock screensharing modes, use cross-server and gif emotes and much more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug Report] File Upload with Emoji causes bypass to fail

StShAzzy opened this issue · comments

commented

hello, one more time
if you embed a image in a message you're sending and insert a emoji on the message the bypass fails completely
the image is send and the emoji is sent as regular text

if for whatever reason it's not possible to send both on the same message, could you add a warning pop-up about it?

I believe the reason for this is because when sending a file the client uses the uploadFiles function instead of the sendMessage function, and none of the emoji bypasses patch the uploadFiles function.

@StShAzzy Let me know your opinion on this: should the emoji (assuming upload bypass is used) be in a separate message or attached to the same message as the file?
Additionally, if it would be attached to the same message, how do you think it should be handled if the maximum 10 attachments is reached?

commented

yeah, that's a problem, the maximum attachment limit would be pretty annoying to deal with so... i guess attaching the emoji and sending a new message with the bypass emoji would be enough, althrough, you could still append the emoji to the current message depending on how many files the user is sending

commented

also, if you ever get bored of waiting for me to answer, you can just send the message on discord, we still share a single server (T.C.R.F)