aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | rename #Roles section to #InformationGravatar shtlrs2022-12-03-1/+1
| | | | | | |
| * | | | | | call super without referencing the current classGravatar shtlrs2022-12-03-1/+1
| | | | | | |
| * | | | | | do not use name manglingGravatar shtlrs2022-12-03-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This also renames to method to align more with our fetch or {action} pattern
| * | | | | | Merge branch 'main' into 2332-permanent-role-viewGravatar shtlrs2022-11-27-77/+183
| |\ \ \ \ \ \
| * | | | | | | make the roles view ephemeral when sent in roles channelGravatar shtlrs2022-11-27-1/+2
| | | | | | | |
| * | | | | | | add docstrings to RoleButtonViewGravatar shtlrs2022-11-27-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This documents the attributes the class has, which gives better context for future readers/contributors
| * | | | | | | misc style & doc improvementsGravatar shtlrs2022-11-27-3/+3
| | | | | | | |
| * | | | | | | remove waring in setup docstringsGravatar shtlrs2022-11-27-1/+1
| | | | | | | |
| * | | | | | | rename the method that attaches the persistent viewGravatar shtlrs2022-11-27-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also enhances the docstrings for a better clarification of its purpose
| * | | | | | | update docs for the newly added view & buttonGravatar shtlrs2022-11-27-2/+2
| | | | | | | |
| * | | | | | | rename prepare_available_role_subscription_view to ↵Gravatar shtlrs2022-11-27-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | prepare_self_assignable_roles_view
| * | | | | | | fix docstrings of the ShowAllSelfAssignableRolesButton's callback functionGravatar shtlrs2022-11-27-1/+1
| | | | | | | |
| * | | | | | | update message content of the persistent viewGravatar shtlrs2022-11-27-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The messages were intended for a button that will automatically assign all availables roles to the interactor This changes since it's not the intended behavior
| * | | | | | | rename ClaimAllSelfAssignableRolesButton to ShowAllSelfAssignableRolesButtonGravatar shtlrs2022-11-27-5/+5
| | | | | | | |
| * | | | | | | restore original value of DELETE_MESSAGE_AFTERGravatar shtlrs2022-11-27-1/+1
| | | | | | | |
| * | | | | | | rely on original_message to delete view once it times outGravatar shtlrs2022-11-27-66/+62
| | | | | | | |
| * | | | | | | add implementation of the button's callback that'll handle assigning the ↵Gravatar shtlrs2022-11-26-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | appropriate roles
| * | | | | | | add assignable_roles as a property to the ClaimAllSelfAssignableRoles buttonGravatar shtlrs2022-11-26-3/+4
| | | | | | | |
| * | | | | | | add the logic for attaching the persistent viewGravatar shtlrs2022-11-26-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This comes with another dependency to try to locate the message that needs to hold the view. If that message is not found, a new one will be created & sent.
| * | | | | | | add the AllSelfAssignableRolesView and its corresponding ↵Gravatar shtlrs2022-11-26-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ClaimAllSelfAssignableRolesButton button Note that these are still dummy views & have no behavior
| * | | | | | | add the roles channel to the configGravatar shtlrs2022-11-26-0/+5
| | | | | | | |
| | | * | | | | Update bot/exts/moderation/infraction/_utils.py Gravatar Steele Farnsworth2023-02-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Put the bot mention in parentheses. This is intended to make the message clearer, in the unlikely circumstance that someone does not have the ModMail bot account in their user cache. Co-authored-by: Vivek Ashokkumar <[email protected]>
| | | * | | | | 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
| | | | | | |