A modern, async-ready Python API wrapper for Discord with comprehensive bot development features
Overall
score
93%
{
"context": "This evaluation assesses how well the engineer uses py-cord's traditional text commands API (discord.ext.commands) to implement a todo bot with command groups, subcommands, aliases, and cogs.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Cog Implementation",
"description": "Uses commands.Cog class to organize commands and implements __init__ method that accepts bot parameter",
"max_score": 15
},
{
"name": "Command Group Setup",
"description": "Uses @commands.group decorator to create the main 'todo' command group with proper name parameter",
"max_score": 20
},
{
"name": "Alias Configuration",
"description": "Configures aliases=['task'] parameter in the @commands.group decorator to enable alternate command name",
"max_score": 10
},
{
"name": "Subcommand Implementation",
"description": "Uses @todo.command decorator (or equivalent group method) to create 'add', 'list', and 'remove' as subcommands of the todo group",
"max_score": 20
},
{
"name": "Context Parameter Usage",
"description": "All command methods accept commands.Context (or ctx) as first parameter after self",
"max_score": 10
},
{
"name": "Greedy Parameter",
"description": "Uses *, (greedy/keyword-only) parameter in add_todo method signature to capture task description with spaces",
"max_score": 10
},
{
"name": "Type Conversion",
"description": "Uses int type hint for index parameter in remove_todo method to enable automatic argument parsing and conversion",
"max_score": 10
},
{
"name": "Setup Function",
"description": "Implements async setup function that uses await bot.add_cog() to register the cog with the bot",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-py-corddocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10