aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2022-11-24Refactor API for snekbox updatesGravatar ionite34-26/+15
2022-11-20Update unit testsGravatar Ionite-28/+45
2022-11-20Refactor encoding parsingGravatar Ionite-16/+19
2022-11-20Change EvalJob str to reprGravatar Ionite-1/+1
2022-11-20Implement full FileAttachment parsingGravatar Ionite-59/+135
2022-11-16Add support for displaying files from snekboxGravatar Ionite-8/+47
2022-11-10Add further clarification to intents.mdGravatar thegamecracks-3/+5
- References discord.Intents documentation for detail on available intents and which features they impact - Explicitly describes no requirements for standard intents - Adds a code comment explaining the intents being enabled
2022-11-10Update intents.mdGravatar thegamecracks-6/+4
- More generally describes features enabled by intents - Adds a disclaimer for discord.py v2.0.0 requiring intents - Adds distinction between standard and privileged intents - Replaces `members` intent in code snippet with `message_content` in accordance with the usage of `commands.Bot`
2022-11-10Fix reference link in customcooldown.mdGravatar thegamecracks-1/+1
2022-11-10Change discord.py links in tags to use stable versionGravatar thegamecracks-5/+5
The `latest` version of docs follows discord.py's development branch, which may include changes to documentation that are not relevant/accessible to typical users of the library.
2022-11-01Address PR comments and fix typGravatar Owen Campbell-4/+2
2022-10-31Simplify REPL exampleGravatar Keyacom-2/+0
2022-10-30Update slicing.mdGravatar Keyacom-22/+17
Did things according to what was proposed by @swfarnsworth, and the following: - Fixed the REPL example (assignments never return) - The word "slicing" at the start was not capitalized in the proposal, even though it started a sentence. I fixed that.
2022-10-28Pass args to the Python version switch buttonGravatar Karlis Suvi-5/+10
2022-10-28Bump PSQL version in docker-composeGravatar mbaruh-1/+1
2022-10-27remove blank line between different rule keywordsGravatar Amrou Bellalouna-1/+1
2022-10-25Reverse changes to invalid arg breakGravatar Ionite-5/+8
2022-10-25Update tests to work with rules arg fixGravatar Ionite-4/+3
2022-10-25Add args split max limitGravatar Ionite-1/+1
2022-10-25Parse all words instead of breakingGravatar Ionite-3/+2
Co-authored-by: ChrisJL <[email protected]>
2022-10-25Remove comment, arg parse bugGravatar Ionite-3/+0
2022-10-25Update tests for new single string formatGravatar Ionite-12/+12
2022-10-25Added new star expression fixGravatar Ionite-20/+14
2022-10-25Updated fixGravatar Ionite-1/+7
2022-10-25Made arg fix compatible with testsGravatar Ionite-5/+6
2022-10-25Temporary fix for greedy parsing freezingGravatar Ionite-1/+4
2022-10-23Refactor some commands to avoid unnecessary API callsGravatar wookie184-48/+34
Also fixed a docstring and renamed a variable
2022-10-23remove the "n° " from rules helpGravatar Amrou Bellalouna-1/+1
2022-10-23remove Information Cog loading logGravatar Amrou Bellalouna-1/+0
2022-10-23reinstate the docstrings of "rules" and update it upon cog loadGravatar Amrou Bellalouna-8/+10
2022-10-23Various improvements and fixesGravatar wookie184-19/+22
2022-10-23set rules command's help upon cog_loadGravatar Amrou Bellalouna-6/+20
2022-10-22Move Security cog to backend extensionGravatar mbaruh-1/+1
2022-10-22Fix testsGravatar wookie184-19/+22
2022-10-22Remove mark_reviewed command, cleanup and bug fixesGravatar wookie184-64/+41
Bugs fixed were just ones introduced in my last commit :(
2022-10-22Use pydantic to model nominations and split API handling into a new fileGravatar wookie184-175/+250
2022-10-20remove int from search_value's type unionGravatar Amrou Bellalouna-6/+6
2022-10-20apply style guidelines to signatureGravatar Amrou Bellalouna-2/+7
2022-10-20update doc strings to reflect the usage of the new paramGravatar Amrou Bellalouna-2/+2
2022-10-20change the signature to include a "zen_rule_index"Gravatar Amrou Bellalouna-7/+9
2022-10-19Calculate 'now' once to ensure it is constant for scoring nominationsGravatar wookie184-4/+5
2022-10-18Resolve a serious grammatical problem in a commentGravatar Leon Sandøy-1/+1
A controversial comment, to be sure. I have solved this with a compromise I know in my heart we can all agree on, wholeassedly.
2022-10-17Support the new SequenceProxy type in d.pyGravatar Chris Lovering-1/+2
This type is usd for a few attributes, including Guild.threads and guild.Channels. This type does not implement any of the add dunder methods, so we use itertools.chain to get a single iterator for both sequences. Fixes BOT-398 Fixees #2292
2022-10-14enhancement(filters): use a stricter bot token regex (#2006)Gravatar arl-5/+5
Use a stricter bot token regex Co-authored-by: wookie184 <[email protected]> Co-authored-by: Hassan Abouelela <[email protected]>
2022-10-13`REPO_TOKEN` is no more. (#2289)Gravatar Xithrius-1/+0
2022-10-10Use explicit mock channels in tests to remove warningGravatar Chris Lovering-2/+11
This is need due to the new behaviour of discord.utils.get supporting both iterables and async iterables by checking for the presence of the __aiter__ attr on the iterable. GuildChannelConverter._resolve_channel uses this get util under the hood which grabs the voice channels on the guild, which were previously Mocked by the MagicMock, meaning the __aiter__ attr was present, causing the util to think it should be ran asynchronously.
2022-10-10noqa an abstract class with no abstract methodsGravatar Chris Lovering-1/+1
This warning was added in the latest version of flake8-bugbear, but can be ignored in this instance.
2022-10-10Bump all deps to latestGravatar Chris Lovering-498/+426
2022-10-10Bump bot-core to 8.2.1Gravatar Chris Lovering-152/+1340
From the release notes on d.py [here](https://canary.discord.com/channels/336642139381301249/381965829857738772/1006359073610010664) and [here](https://canary.discord.com/channels/336642139381301249/381965829857738772/1008772795179737230) none of the breaking changes for the commit we were on to 2.0.1 affect us.
2022-10-09Make changes requested in reviewGravatar wookie184-3/+5