A modern, async-ready Python API wrapper for Discord with comprehensive bot development features
Overall
score
93%
{
"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
}
]
}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