or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/py-cord@2.6.x
tile.json

tessl/pypi-py-cord

tessl install tessl/pypi-py-cord@2.6.0

A 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%

task.mdevals/scenario-6/

Help Documentation Browser Bot

Build a Discord bot that displays categorized help documentation using interactive paginated messages.

Requirements

Create a Discord bot with a slash command /help that displays help documentation organized into categories. The bot should allow users to browse through multiple pages of help topics using navigation buttons and switch between categories using a dropdown menu.

Command Specification

The bot must implement a /help command with the following behavior:

  • When invoked, display an interactive multi-page help browser
  • Support at least 3 categories: "Commands", "Features", and "FAQ"
  • Each category should contain at least 3 pages of content
  • Users should be able to navigate between pages using buttons
  • Users should be able to switch between categories using a dropdown selector
  • Only the user who invoked the command should be able to interact with the buttons and dropdown
  • The paginator should automatically disable after 60 seconds of inactivity

Content Structure

Commands Category:

  • Page 1: Basic commands overview
  • Page 2: Admin commands overview
  • Page 3: Utility commands overview

Features Category:

  • Page 1: Core features description
  • Page 2: Advanced features description
  • Page 3: Customization options description

FAQ Category:

  • Page 1: Common questions about setup
  • Page 2: Common questions about permissions
  • Page 3: Common questions about troubleshooting

Each page should be formatted as an embed with:

  • A title indicating the category and page topic
  • A description with relevant content (minimum 2-3 sentences)
  • A color scheme (use #5865F2 for Commands, #57F287 for Features, #FEE75C for FAQ)
  • A footer showing the page number

Interaction Requirements

  • Navigation buttons must allow moving between pages (first, previous, next, last)
  • The dropdown menu should list all three categories and allow switching between them
  • Navigation should handle edge cases gracefully (e.g., navigating beyond first/last page)

Technical Requirements

  • The bot must respond to slash commands
  • Use embeds to display help content
  • Implement proper timeout handling (60 seconds)
  • Ensure interactions are restricted to the command invoker
  • Use appropriate button styles for navigation

Test Cases

  • The /help command successfully responds with an interactive paginated message @test
  • The paginated message includes navigation buttons (first, previous, next, last) @test
  • The paginated message includes a category dropdown selector @test
  • Switching categories via dropdown updates the displayed content @test

Implementation

@generates

Dependencies { .dependencies }

py-cord { .dependency }

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