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 criteria evaluates an engineer's proficiency in using py-cord's guild management capabilities to automate Discord server setup. It focuses specifically on proper usage of role creation, channel management, category organization, and permission configuration APIs.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Guild role creation",
"description": "Uses guild.create_role() method to create the three required roles (Moderator, Member, Guest) with appropriate permission configurations using discord.Permissions",
"max_score": 20
},
{
"name": "Role permissions configuration",
"description": "Correctly configures role permissions using discord.Permissions object with appropriate flags (manage_messages, kick_members for Moderator; send_messages, read_message_history for Member; only read permissions for Guest)",
"max_score": 15
},
{
"name": "Category channel creation",
"description": "Uses guild.create_category() or guild.create_category_channel() method to create both category channels (General and Staff)",
"max_score": 15
},
{
"name": "Text channel creation",
"description": "Uses guild.create_text_channel() method to create all three text channels (welcome, chat, mod-chat) with the category parameter to place them in the correct categories",
"max_score": 15
},
{
"name": "Permission overwrites",
"description": "Uses discord.PermissionOverwrite objects to configure channel-specific permissions and applies them during channel creation or via channel.set_permissions() method",
"max_score": 20
},
{
"name": "Interaction response",
"description": "Uses ctx.respond() or ctx.send_response() to send the summary message back to the user after completing the setup",
"max_score": 5
},
{
"name": "Slash command decorator",
"description": "Uses @bot.slash_command() or bot.command() decorator to register the setup command as a slash command",
"max_score": 5
},
{
"name": "Permission denial configuration",
"description": "Correctly uses PermissionOverwrite to deny send_messages permission for @everyone role in the welcome channel while allowing read permissions",
"max_score": 5
}
]
}