CraftSpider / dpytest

A package that assists in writing tests for discord.py
MIT License
102 stars 26 forks source link

dict_from_attachment is missing content_type #119

Closed calliecameron closed 1 year ago

calliecameron commented 1 year ago

dict_from_attachment doesn't set content_type in the output dict. This means that if you created an attachment using make_attachment_dict with a content type, and at some point the attachment gets passed through dict_from_attachment (e.g. when calling make_message), the content type is lost.