CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-py-cord

A modern, async-ready Python API wrapper for Discord with comprehensive bot development features

Overall
score

93%

Overview
Eval results
Files

rubric.jsonevals/scenario-9/

{
  "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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-py-cord

tile.json