Skip to content

Conversation

@shtlrs
Copy link
Member

@shtlrs shtlrs commented Dec 7, 2023

The checks module in both bot and sir-lancebot and sir-robin are almost the exact same (sir robin has one related to aoc) but are replicated in 3 places.

The checks' purposes are also generic, and are not context specific, so it's better to place them here.

This pull request is part of #85 where we port common code in all of our bots.

@netlify
Copy link

netlify bot commented Dec 7, 2023

Deploy Preview for bot-core ready!

Name Link
🔨 Latest commit b869662
🔍 Latest deploy log https://app.netlify.com/sites/bot-core/deploys/658178342ae32800084b0228
😎 Deploy Preview https://deploy-preview-199--bot-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@shtlrs shtlrs changed the title Port all common checks to botcore Port all common checks to pydis_core.utils.checks Dec 7, 2023
@shtlrs shtlrs force-pushed the migrate-common-checks branch from f317c2b to 9400fc2 Compare December 7, 2023 17:19
@shtlrs shtlrs requested a review from ChrisLovering December 7, 2023 21:42
@ChrisLovering
Copy link
Member

ChrisLovering commented Dec 11, 2023

Could you update the docstrings so that the auto-docs format correctly?

https://github.com/python-discord/bot-core/blob/main/docs/README.md#docstrings for the docs, you can reference another class for examples

@shtlrs shtlrs force-pushed the migrate-common-checks branch 4 times, most recently from 5683e96 to 3d06ece Compare December 12, 2023 20:32
@shtlrs shtlrs force-pushed the migrate-common-checks branch from 3d06ece to b869662 Compare December 19, 2023 11:02
@ChrisLovering
Copy link
Member

Merged and released in 10.6.0

@ChrisLovering ChrisLovering deleted the migrate-common-checks branch January 30, 2024 19:11
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