Skip to content

Add PEP slash command - #3544

Open
Sacul0457 wants to merge 3 commits into
python-discord:mainfrom
Sacul0457:pep-slash-command
Open

Add PEP slash command#3544
Sacul0457 wants to merge 3 commits into
python-discord:mainfrom
Sacul0457:pep-slash-command

Conversation

@Sacul0457

@Sacul0457 Sacul0457 commented Aug 1, 2026

Copy link
Copy Markdown

Notes:

  • I set the limit to 10 as I think 25 would be too many and clutter the screen
  • I have not tested the code
  • Maybe cache choices and avoid recomputing it every autocomplete?
  • get_pep_embed needs a better name...

Issue: #3543

@ChrisLovering ChrisLovering left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice change, a few comments, also I'd suggest installing the pre-commit hooks so that your changes get linted when you commit uv run pre-commit install

Comment thread bot/exts/info/pep.py Outdated
Comment thread bot/exts/info/pep.py Outdated
@Sacul0457

Copy link
Copy Markdown
Author

Thanks for approving!

Someone should probably test this to see if it works tho

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants