aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | Make the infraction message mention @ModMailGravatar Steele Farnsworth2023-01-01-1/+2
| |_|/ / / / / |/| | | | | | | | | | | | | Previously, the footer for non-ban infraction messages would say to DM the ModMail bot. This commit makes "ModMail" a clickable mention of the bot.
* | | | | | | Link previous nomination threads to a user nomination's history (#2373)Gravatar Amrou Bellalouna2022-12-31-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add thread_id to pydantic model * add thread mentions to review history * add list of threads to a review's markdown file * replace thread mention with jump url * add style to thread not found message * use get_or_fetch_channel to look from thread * use jump_url in the review markdown file * catch HttpException when threads are not found * remove link syntaxt for previous nomination threads upon getting a review * check for whether thread_id is null or not in history nominations Co-authored-by: Amrou Bellalouna <[email protected]>
* | | | | | | Link previous nomination threads to a user nomination's history (#2319)Gravatar Amrou Bellalouna2022-12-28-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Amrou Bellalouna <[email protected]> Closes https://github.com/python-discord/bot/issues/2304
* | | | | | | Merge pull request #2365 from python-discord/shenanigansd-patch-1Gravatar ChrisJL2022-12-22-2/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Update create reminder permission error to mention bot-commands
| * | | | | | | update create reminder permission error to mention bot-commandsGravatar Bradley Reynolds2022-12-20-2/+3
|/ / / / / / /
| | | | | | * Add docstring info on file system support for evalGravatar Ionite2023-02-24-8/+7
| | | | | | |
| | | | | | * Restore implicit no line nums when 0 lines behaviorGravatar Ionite2023-02-24-1/+1
| | | | | | |
| | | | | | * Fix and simplify logic for optional line numberingGravatar Ionite2023-02-24-6/+6
| | | | | | |
| | | | | | * Use PurePosixPath so tests work on windowsGravatar Ionite2023-02-22-10/+5
| | | | | | |
| | | | | | * Update budget lines and chars for text to be shared with stdoutGravatar Ionite2023-02-22-2/+3
| | | | | | |
| | | | | | * Fix budget lines comparisonGravatar Ionite2023-02-22-1/+1
| | | | | | |
| | | | | | * Fix file text count comparisonGravatar Ionite2023-02-22-2/+2
| | | | | | |
| | | | | | * Refactor format_output to have `output_default` as strGravatar Ionite2023-02-22-5/+4
| | | | | | |
| | | | | | * Fix empty files format when only new linesGravatar Ionite2023-02-18-0/+1
| | | | | | |
| | | | | | * Text file upload to paste service / in-line displayGravatar Ionite2023-02-18-11/+48
| | | | | | |
| | | | | | * Add name property for FileAttachmentGravatar Ionite2023-02-18-0/+5
| | | | | | |
| | | | | | * Introduce variable for max output lines and charsGravatar Ionite2023-02-18-6/+10
| | | | | | |
| | | | | | * Fix typingGravatar Ionite2023-02-18-0/+1
| | | | | | |
| | | | | | * Add `has_output` and `has_files` for EvalResultGravatar Ionite2023-02-13-3/+13
| | | | | | |
| | | | | | * Move allowed_mentions and view definitionsGravatar Ionite2023-02-12-4/+2
| | | | | | |
| | | | | | * Move files error message callGravatar Ionite2023-02-12-2/+1
| | | | | | |
| | | | | | * Fix identationGravatar Ionite2023-02-12-5/+5
| | | | | | |
| | | | | | * Fix indentationGravatar Ionite2023-02-12-4/+4
| | | | | | |
| | | | | | * Merge branch 'snekbox-files' of https://github.com/python-discord/bot into ↵Gravatar Ionite2023-02-12-7/+2
| | | | | | |\ | | | | | | | | | | | | | | | | | | | | | | | | snekbox-files
| | | | | | | * Simplify file name truncationGravatar Ionite2023-02-12-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]>
| | | | | | * | Made EvalJob and FileAttachment dataclasses frozenGravatar Ionite2023-02-12-2/+2
| | | | | | |/
| | | | | | * Add `failed_file` emoji to configGravatar Ionite2023-02-09-0/+1
| | | | | | |
| | | | | | * Add and update eval to use new `failed_file` emojiGravatar Ionite2023-02-09-2/+3
| | | | | | |
| | | | | | * Hide no output on any file uploadGravatar Ionite2023-02-09-1/+1
| | | | | | |
| | | | | | * Update unit tests for file error message changesGravatar Ionite2023-02-08-9/+5
| | | | | | |
| | | | | | * Update file error messagesGravatar Ionite2023-02-08-10/+28
| | | | | | |
| | | | | | * Add skip condition for windows not able to test path escapesGravatar Ionite2023-02-07-2/+6
| | | | | | |
| | | | | | * Fix unit tests for new failmail emojiGravatar Ionite2023-02-07-5/+5
| | | | | | |
| | | | | | * Change wording for failed attachments, use `:failmail:` emojiGravatar Ionite2023-02-07-5/+4
| | | | | | |
| | | | | | * Add disallowed file extensions testsGravatar Ionite2023-02-06-0/+29
| | | | | | |
| | | | | | * Add file extension filteringGravatar Ionite2023-02-06-14/+67
| | | | | | |
| | | | | | * Change failed files str to truncate on chars onlyGravatar ionite342022-12-20-17/+30
| | | | | | |
| | | | | | * Add normalize file name testsGravatar ionite342022-12-20-0/+34
| | | | | | |
| | | | | | * Refactor snekbox tests to moduleGravatar ionite342022-12-20-0/+0
| | | | | | |
| | | | | | * Improve RE_ANSI match casesGravatar ionite342022-12-20-1/+1
| | | | | | |
| | | | | | * Add discord file name normalizationGravatar ionite342022-12-20-0/+22
| | | | | | |
| | | | | | * Add markdown mention escape for file error strGravatar ionite342022-12-20-0/+5
| | | | | | |
| | | | | | * Rename method get_failed_files_strGravatar ionite342022-12-20-3/+3
| | | | | | |
| | | | | | * Add unit tests for EvalResult.files_error_strGravatar ionite342022-12-17-1/+22
| | | | | | |
| | | | | | * Add unit test for files_error_messageGravatar ionite342022-12-17-1/+28
| | | | | | |
| | | | | | * Revert newline format for msgGravatar ionite342022-12-17-3/+3
| | | | | | |
| | | | | | * Update unit tests for EvalResult message changeGravatar ionite342022-12-17-7/+16
| | | | | | |
| | | | | | * Split get_message errors to other propertiesGravatar ionite342022-12-17-27/+58
| | | | | | |
| | | | | | * sizeof_fmt uses 0 d.p. for integralsGravatar ionite342022-12-17-3/+6
| | | | | | |
| | | | | | * Add FILE_COUNT_LIMIT and error messagesGravatar ionite342022-12-14-9/+24
| | | | | | |