async def upload_image(ctx: discord.ApplicationContext,
airframe: discord.Option(type=str, name="airframe", required=True),
livery: discord.Option(type=str, name="livery", required=True),
image: discord.Option(type=discord.Attachment, name="plane_image", required=True)
):
Discord seems to just be treating the plane_image parameter as just text (str)?