CraftSpider / dpytest

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

content_type in make_attachment_dict has the wrong type #118

Closed calliecameron closed 1 year ago

calliecameron commented 1 year ago

It's currently defined as Optional[int]. It should be Optional[str], to match the type in discord.Attachment: https://discordpy.readthedocs.io/en/stable/api.html#discord.Attachment.content_type.

Sergeileduc commented 1 year ago

@calliecameron Thank you ! can you provide a pull request for that ?