Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Stop using Literal ordering to determine default !eval Python version | 11 days | -3/+3 | |
| | | | | | | | Instead of using typing.get_args(...) and fetching the first value returned (which is mostly safe, but not guaranteed to be so), use a new constant DEFAULT_PYTHON_VERSION to control the current default Python executor when no explicit interpreter version is passed. | |||
* | Remove stray comment | 2025-07-01 | -2/+0 | |
| | ||||
* | General refactoring, change message formatting, update tests | 2025-06-30 | -11/+17 | |
| | ||||
* | Refactor slowmode command to use Duration converter; Combine redis caches ↵ | 2025-06-30 | -22/+23 | |
| | | | | into one object; update and tidy related tests. | |||
* | Fix bug in test causing channel edit to not be recognised | 2025-06-30 | -15/+17 | |
| | ||||
* | Fix issue with unawaited coroutine in test | 2025-06-30 | -1/+1 | |
| | ||||
* | WIP: Added tests for slowmode command with duration argument. | 2025-06-30 | -2/+110 | |
| | ||||
* | Update information cog test suite to patch get_channel for rules command tests | 2025-06-23 | -0/+3 | |
| | ||||
* | Update snekbox tests to use new default python version | 2025-05-17 | -16/+22 | |
| | ||||
* | fix whitespace and file end lints | 2025-04-10 | -1/+1 | |
| | ||||
* | Add step to zen command slicing | 2025-04-10 | -6/+10 | |
| | ||||
* | Added tests for the zen command | 2025-03-24 | -0/+90 | |
| | ||||
* | Remove tests for deleted behavior. | 2025-01-30 | -37/+0 | |
| | | | | Previously, (txt, csv, json, and py) files evoked special behavior from the filtering system. This is no longer the case. | |||
* | Mark tests that aren't passing with xfail. | 2025-01-30 | -0/+3 | |
| | | | | I manually tested the functionality implemented here. | |||
* | Fix rendering of markdown headers in docs | 2024-12-30 | -0/+1 | |
| | ||||
* | Remove surrounding whitespace from doc description markdown | 2024-12-30 | -0/+17 | |
| | ||||
* | Add eval output highlight language to support ANSI colors | 2024-11-14 | -3/+3 | |
| | ||||
* | Support both Python 3.12 and 3.13 in eval | 2024-10-06 | -4/+5 | |
| | ||||
* | Merge branch 'main' into faster-silence-tests | 2024-07-08 | -4/+4 | |
|\ | ||||
| * | Fix tests | 2024-06-11 | -4/+4 | |
| | | ||||
* | | Selectively patch SilenceNotifier only where needed | 2024-05-25 | -14/+19 | |
| | | | | | | | | Improves performance and makes other tests more realistic | |||
* | | Just use the notifier instead of patching | 2024-05-25 | -14/+18 | |
| | | | | | | | | I combined two tests into one where it made sense. This is much neater and makes for better tests | |||
* | | Don't setup the cog for Notifier and Argument Parser tests | 2024-05-25 | -8/+10 | |
| | | | | | | | | None of these tests need Redis or anything set by cog_load and setting them up for every test slows things down | |||
* | | Make use of fakeredis instead of mocking | 2024-05-25 | -29/+24 | |
|/ | | | | This is cleaner, and better practice. | |||
* | Merge branch 'main' into vivek/fix-eval-truncation | 2024-05-23 | -21/+44 | |
|\ | ||||
| * | Merge branch 'main' into reply-to-eval | 2024-05-21 | -16/+61 | |
| |\ | ||||
| | * | Update tests for new autonomination threshold logic | 2024-05-18 | -5/+35 | |
| | | | ||||
| | * | Move from sentry_sdk.push_scope to sentry_sdk.new_scope | 2024-05-13 | -5/+5 | |
| | | | ||||
| * | | Reply to eval commands instead of using a mention where possible | 2024-04-02 | -11/+4 | |
| | | | ||||
* | | | Don't upload to pastebin when no truncation | 2024-05-11 | -1/+1 | |
| |/ |/| | ||||
* | | Merge pull request #2997 from python-discord/improve-infractions-tests | 2024-04-06 | -4/+16 | |
|\ \ | | | | | | | Test that infraction reason sent to database is not truncated | |||
| * | | Test that infraction reason sent to database is not truncated | 2024-04-01 | -4/+16 | |
| |/ | ||||
* / | Fix coroutine never awaited warning in sync tests (#2996) | 2024-04-03 | -2/+5 | |
|/ | ||||
* | Update syncer tests | 2024-04-01 | -24/+38 | |
| | ||||
* | Snekbox: truncate blocked file extensions | 2024-03-26 | -6/+13 | |
| | | | | | | Avoid Discord's character limit for messages. Fix #2464 | |||
* | Make help showable through button on command error message. (#2439) | 2024-03-25 | -3/+4 | |
| | | | | | | | | | | | | | | | | | * Make help showable through button on command error message. * Improve error message Improve error message for attempting to delete other users' command invocations Co-authored-by: Boris Muratov <[email protected]> * Use double quotes instead of single * Refactor to use `ViewWithUserAndRoleCheck` --------- Co-authored-by: Boris Muratov <[email protected]> | |||
* | Replace aliased errors with TimeoutError | 2024-02-02 | -2/+2 | |
| | ||||
* | Merge branch 'main' into fix-incorrect-test | 2024-01-28 | -1/+3 | |
|\ | ||||
| * | Move modlog method to util (#2877) | 2024-01-08 | -1/+3 | |
| | | ||||
* | | Fix test code that was doing nothing | 2023-12-31 | -3/+7 | |
|/ | ||||
* | Update all references of 3.11 in eval to 3.12 (#2777) | 2023-10-03 | -14/+14 | |
| | ||||
* | Centralise error handling for commands invoked from error handler (#2436) | 2023-09-19 | -22/+4 | |
| | ||||
* | Bump ruff from 0.0.285 to 0.0.287 (#2745) | 2023-09-06 | -2/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Bump ruff from 0.0.285 to 0.0.287 Bumps [ruff](https://github.com/astral-sh/ruff) from 0.0.285 to 0.0.287. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md) - [Commits](https://github.com/astral-sh/ruff/compare/v0.0.285...v0.0.287) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update bot to comply with ruff 0.0.287 linting rules --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Joe Banks <[email protected]> | |||
* | Update import style for ruff isort rule | 2023-08-11 | -4/+21 | |
| | | | | ruff's isort rule doesn't allow multiple imports on the same line if wrapping. This is arguably easier to read too. | |||
* | Replace deprecated functions with new pydantic v2 functions | 2023-08-11 | -2/+2 | |
| | ||||
* | Change DM users get when warned (#2696) | 2023-08-05 | -5/+5 | |
| | ||||
* | Mock _lexers_supported_by_pastebin in test to ensure no call to external ↵ | 2023-07-11 | -0/+4 | |
| | | | | service is made | |||
* | Use the new pydis_core send_to_paste_service function | 2023-07-11 | -11/+2 | |
| | ||||
* | Fix some test warnings (#2675) | 2023-07-09 | -5/+8 | |
| | | | | | | | * Fix test warnings * Remove unnecessary event_loop parameters This is not necessary as the current event loop will be used which is the same as self.bot.loop. Removing these should slightly improve test speed as the mock for self.bot.loop doesn't need to be created. | |||
* | Allow use of msg reply to add context to incident | 2023-06-21 | -0/+1 | |
| |