Ripcord Dev Logo Ripcord Development — View Ticket Login or Create Account
Ticket UUID: 0021ec19045f3dd0bda75f969abef37b0e0b63c6
Title: Not handling image upload to channel without permission to do so.
Status: Open Type: Bug
Severity: Minor Priority: Low
Subsystem: Discord Resolution: Open
Last Modified: 2019-05-18 15:48:36
Version Found In: 0.4.3
HeapUnderflow2019-05-18 14:31:40

Ripcord does not properly handle a upload to a channel with the "Attach Files" permission turned off.
Instead, a phantom message is created and a error is emitted to log:
Example Phantom Message
Error Log (anonymized):
2019-05-18 16:18:36.414 Warn Networking: File upload error: {"code": 50013, "message": "Missing Permissions"} --- Error transferring https://discordapp.com/api/v6/channels/0000000000000000/messages - server replied: FORBIDDEN

This is related to aaae24e96f