tessl install tessl/pypi-py-cord@2.6.0A modern, async-ready Python API wrapper for Discord with comprehensive bot development features
Agent Success
Agent success rate when using this tile
93%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.11x
Baseline
Agent success rate without this tile
84%
{
"context": "This evaluation assesses the engineer's proficiency in using py-cord's file handling capabilities, specifically the File and Attachment classes for uploading files with various options and retrieving attachment metadata.",
"type": "weighted_checklist",
"checklist": [
{
"name": "File Upload Usage",
"description": "Uses discord.File class to create file objects from filesystem paths for uploading attachments",
"max_score": 25
},
{
"name": "Spoiler Parameter",
"description": "Correctly implements the spoiler parameter using discord.File's spoiler attribute to mark files as spoilers",
"max_score": 15
},
{
"name": "Multiple Attachments",
"description": "Sends multiple discord.File objects in a single message by passing a list of files to the send or respond method",
"max_score": 20
},
{
"name": "Message Fetching",
"description": "Uses channel.fetch_message() or similar method to retrieve a message by ID from the current channel",
"max_score": 15
},
{
"name": "Attachment Metadata",
"description": "Accesses discord.Attachment properties (filename, size, content_type) to retrieve and display file metadata",
"max_score": 25
}
]
}