Skip to content

Feat/pep command#23

Merged
ChrisLovering merged 2 commits into
mainfrom
feat/pep-command
Mar 31, 2022
Merged

Feat/pep command#23
ChrisLovering merged 2 commits into
mainfrom
feat/pep-command

Conversation

@GDWR
Copy link
Copy Markdown
Contributor

@GDWR GDWR commented Mar 31, 2022

Port the pep command from python-discord/bot, original source

With this, I have added an aiohttp client session to the bot instance. this can be used in future cogs/exts too.
Additionally, I implemented it as bare-bones as possible for review speed. In the actual python-discord/bot we are creating a resolver and connector, this would require additional dependencies. what I'm talking about

screenshots

Here is examples of the embeds generated.
image

Links redirect to the correct sites
image
image

Copy link
Copy Markdown
Contributor

@lemonsaurus lemonsaurus left a comment

Choose a reason for hiding this comment

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

This all looks very sane, which makes sense since the exact same code has already passed code review on our other bot.

I don't see the connector thing creating any kind of critical problem for this, either.

Since you've already tested it and provided proof of successful tests, and since we're under some time pressure, I'm happy to approve.

@ChrisLovering ChrisLovering merged commit 93a8360 into main Mar 31, 2022
@ChrisLovering ChrisLovering deleted the feat/pep-command branch March 31, 2022 10:45
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.

3 participants