Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | | | Fix tests | 2022-08-07 | -3/+2 | ||
| | | | | |||||
* | | | | Write tests for reviewer | 2022-08-07 | -0/+153 | ||
|/ / / | |||||
* | | | Update snekbox tests to expect new output | 2022-07-21 | -11/+13 | ||
| | | | |||||
* | | | Update snekbox tests to reflect current behaviour | 2022-07-16 | -23/+37 | ||
| |/ |/| | |||||
* | | Merge branch 'main' into improve-pastebin-error-handling | 2022-06-07 | -2/+7 | ||
|\ \ | |||||
| * | | Fix tests | 2022-05-28 | -0/+3 | ||
| | | | |||||
| * | | Bump malformed API response from debug to error log (#2175) | 2022-05-21 | -2/+4 | ||
| | | | |||||
* | | | Fix tests | 2022-05-02 | -3/+3 | ||
|/ / | |||||
* | | remove unneeded import in tests | 2022-04-20 | -1/+0 | ||
| | | |||||
* | | Add missing underscores to test function names | 2022-04-18 | -3/+3 | ||
| | | |||||
* | | Test that sync cog syncers run when sync cog is loaded | 2022-04-18 | -0/+13 | ||
| | | |||||
* | | Don't try to overwrite a read-only attr in help command test | 2022-04-18 | -1/+1 | ||
| | | |||||
* | | Remove sync cog init test | 2022-04-18 | -17/+0 | ||
| | | | | | | | | Discord.py now implicitly calls the new async cog_load function from within it's internals on load. There is no longer a need to test that this happens. | ||||
* | | Update tests to use new async cog_load function | 2022-04-18 | -25/+17 | ||
| | | |||||
* | | Update tests to use new async cog setup function | 2022-04-18 | -29/+28 | ||
| | | |||||
* | | Remove async stats and site api wrapper | 2022-04-18 | -4/+5 | ||
| | | | | | | | | We now source them from bot-core, so no need to have them here too. | ||||
* | | Use bot-core scheduling and member util functions | 2022-04-18 | -2/+2 | ||
| | | |||||
* | | Merge branch 'main' into feat/timeit-command | 2022-03-31 | -21/+208 | ||
|\ \ | |||||
| * | | Revert "Update all references of discord.py to disnake" | 2022-03-15 | -44/+44 | ||
| | | | | | | | | | | | | This reverts commit 960619c23300c56c8aaa454edc7241e2badf80ad. | ||||
| * | | Merge main into feat/mod/1664/resend-infraction | 2022-03-05 | -44/+44 | ||
| |\ \ | |||||
| | * | | Update all references of discord.py to disnake | 2022-03-05 | -44/+44 | ||
| | | | | | | | | | | | | | | | | All of the tag content is out of scope for this PR. | ||||
| * | | | Merge main into feat/mod/1664/resend-infraction | 2022-02-22 | -254/+619 | ||
| |\| | | |||||
| | * | | Remove unnecessary Infraction conversion in clean ban (#2092) | 2022-02-16 | -4/+2 | ||
| | | | | |||||
| | * | | Typo and docstrings in clean ban tests | 2022-02-16 | -1/+2 | ||
| | | | | | | | | | | | | | | | | Co-authored-by: GDWR <[email protected]> | ||||
| | * | | Send error when cleanban fails to ban | 2022-02-16 | -1/+1 | ||
| | | | | | | | | | | | | | | | | Co-authored-by: GDWR <[email protected]> | ||||
| | * | | Add tests for new CleanBan and Clean functionality | 2022-02-16 | -1/+193 | ||
| | | | | |||||
| * | | | Add util function to send an infraction using an Infraction dict | 2021-07-15 | -2/+2 | ||
| | | | | | | | | | | | | | | | | | | | | There was some redundant pre-processing of arguments happening before calling `notify_infraction`. | ||||
* | | | | Merge branch 'main' into feat/timeit-command | 2022-02-15 | -43/+43 | ||
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Refactor voice_ban function definitions to voice_mute | 2022-01-25 | -39/+39 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | This changes all functions that reference voice_ban to voice_mute instead, which comes with breaking front-end changes. These front end changes are desirable, so that moderators get used to use voice_mute now, rather than voice_ban, in preparation for when we roll out real voice_bans. | ||||
| * | | | Rename voice_ban type to voice_mute | 2022-01-25 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | This commit changes all of the back-end so that it is in line with the new site API (see this PR https://github.com/python-discord/site/pull/608). This comes with no changes to commands, or functions definitions. | ||||
* | | | | tests: Add a test for timeit command codeblock preparation | 2022-02-05 | -0/+15 | ||
| | | | | |||||
* | | | | fix: Use filter_snekbox_output rather than job | 2022-02-04 | -3/+3 | ||
| | | | | |||||
* | | | | chore: Switch Snekbox.prepare_input with a CodeblockConverter | 2022-01-27 | -53/+52 | ||
| | | | | | | | | | | | | | | | | As per @Numerlor's suggestion | ||||
* | | | | Merge branch 'main' of https://github.com/python-discord/bot into ↵ | 2022-01-26 | -0/+9 | ||
|\| | | | | | | | | | | | | | | | feat/timeit-command | ||||
| * | | | Fix create_user_embed tests | 2021-08-07 | -0/+9 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mock User.created_at and User.joined_at because `arrow.get()` doesn't work with Mock objects. The old implementation of `time.discord_timestamp` accepted mocks because it just did `int()` on any type it didn't explicitly check for. | ||||
* | | | | chore: Remove the naming of 'eval' in certain places | 2022-01-26 | -3/+3 | ||
| | | | | | | | | | | | | | | | | Since the !eval command is no longer the only snekbox command, make the naming more generic. | ||||
* | | | | chore: Apply suggestions and adjust tests | 2022-01-17 | -13/+11 | ||
| | | | | |||||
* | | | | fix: Modify tests to correspond with Snekbox.continue_eval | 2022-01-17 | -8/+11 | ||
| | | | | |||||
* | | | | chore: Suppress output in the setup code, not the code that gets timed. | 2022-01-13 | -3/+3 | ||
| | | | | | | | | | | | | | | | | If multiple formatted codeblocks are passed to the command, the first one will be used as the setup code that does not get timed. | ||||
* | | | | chore: Fix merge conflicts | 2022-01-13 | -438/+1144 | ||
|\| | | | |||||
| * | | | Fix snekbox tests with new allowed_mentions | 2022-01-08 | -4/+20 | ||
| | | | | |||||
| * | | | Add text indicating when user fetched by message (#2013) | 2021-12-29 | -12/+12 | ||
| | |/ | |/| | | | | Co-authored-by: Xithrius <[email protected]> | ||||
| * | | Include message counts in all channels (#2016) | 2021-12-28 | -2/+41 | ||
| | | | | | | | | | Co-authored-by: Xithrius <[email protected]> | ||||
| * | | Merge branch 'main' into add-dm_sent-field | 2021-12-25 | -63/+93 | ||
| |\ \ | |||||
| | * \ | Merge branch 'main' into tag-groups | 2021-12-08 | -67/+208 | ||
| | |\ \ | |||||
| | | * | | Dynamic views for command help embeds (#1939) | 2021-12-01 | -32/+0 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dynamic views for command help embeds Adds views for commands to navigate groups. For subcommands, a button is added to show the parent's help embed. For groups, buttons are added for each subcommand to show their help embeds. The views are not generated when help is invoked in the context of an error. | ||||
| | | * | | Merge branch 'main' into feature/enhance-incidents | 2021-11-18 | -7/+47 | ||
| | | |\ \ | |||||
| | | * \ \ | Merge branch 'main' into feature/enhance-incidents | 2021-10-21 | -10/+10 | ||
| | | |\ \ \ | |||||
| | | * \ \ \ | Merge remote-tracking branch 'upstream/main' into feature/enhance-incidents | 2021-10-17 | -38/+66 | ||
| | | |\ \ \ \ | |||||
| | | * | | | | | Refactor `shorten_text` utility function | 2021-10-11 | -5/+14 | ||
| | | | | | | | |