aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2022-04-18Bump d.py and bot-coreGravatar Chris Lovering-7/+12
2022-04-18Bump all deps and exact version pin.Gravatar Chris Lovering-303/+503
Exact versioning has been chosen to be more explicit in what versions we require. We will be using dependabot in github to ensure these versions are kept up to date.
2022-04-18Remove aio-pika and psutilGravatar Chris Lovering-381/+432
aio-pika was used in the RabbitMQ cog (added in https://github.com/python-discord/bot/pull/90) which has since been deleted. It is no longer used. psutil was used to automatically determine how many threads to use when testing. However, this package has been quite slow to publish wheels for new Python versions. Since we don't use it for anything mission critical, I have removed it and hardcoded the number of threads to use when when testing to 8. An error is not raised it the number of threads used exceeds the number of actual threads available.
2022-04-05Parse infraction search reason as regex before calling site (#2126)Gravatar ChrisJL-0/+6
Previously this would raise an error within site due to the invalid regexp.
2022-04-03Update bot/resources/tags/type-hint.mdGravatar wookie184-1/+1
Co-authored-by: ChrisJL <[email protected]>
2022-04-02Replaced resources.md with Resources CogGravatar Eric Fletcher-6/+70
We can use this cog to get a URL with resources filtered by the terms input by the user in the Discord command.
2022-03-31feat: add created at field for message deleted log (#2122)Gravatar MaskDuck-1/+5
2022-03-31Update type-hint.mdGravatar wookie184-7/+7
2022-03-31Update to canonical PEP URLsGravatar Hugo van Kemenade-19/+19
2022-03-30Remove modlog ignore for voice verifGravatar Chris Lovering-2/+1
When a user leaves and rejoins, and then asks for the voice verification role back in modmail, we want a way to see if they have every been given the role. By removing this modlog ignore, it allows us to check the user-log channel for user updates to see if they were ever assigned the role.
2022-03-26Remove mod_log.ignore of invocations of the voice verify commandGravatar minalike-4/+0
2022-03-18apply decorator on superstarify tooGravatar Shakya Majumdar-0/+2
2022-03-18try-except to prevent a TypeError instead of `if isinstance`Gravatar Shakya Majumdar-2/+5
2022-03-18rename function to be more genericGravatar Shakya Majumdar-17/+17
2022-03-15Revert "Migrate from Discord.py to disnake"Gravatar Chris Lovering-205/+190
This reverts commit a30f8856cc24e6b42fc86ab972d605bfe2562075.
2022-03-15Revert "Update all references of discord.py to disnake"Gravatar Chris Lovering-735/+734
This reverts commit 960619c23300c56c8aaa454edc7241e2badf80ad.
2022-03-15Revert "Migrate to use monkey patches from botcore"Gravatar Chris Lovering-191/+202
This reverts commit ab073c89ad37c26eb4103ef0ca58e16421bca875.
2022-03-15Revert "No longer use Interaction.message, as it was removed from disnake"Gravatar Chris Lovering-11/+15
This reverts commit a1c73b5eca88d1b92cd42d3c41183387209461b9.
2022-03-14Increase watch API call limit to 10,000Gravatar Joe Banks-1/+1
By default, the site infractions query API will only return 100 records, but we have more active watches than this meaning that the response truncated active infractions and so the bigbrother cog was not initialising with all active watches. This change ensures that up to 10,000 watches are fetched instead meaning no infractions will be truncated and missed.