aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | fix typos in the SELF_ASSIGNABLE_ROLES_MESSAGEGravatar shtlrs2023-01-14-1/+1
| | | | | | |
| * | | | | | fix Zig's nit commentsGravatar shtlrs2022-12-18-4/+6
| | | | | | |
| * | | | | | do not use name mangling in _attach_persistent_roles_viewGravatar shtlrs2022-12-04-2/+2
| | | | | | |
| * | | | | | use follow.send to send the role update messageGravatar shtlrs2022-12-04-1/+1
| | | | | | |
| * | | | | | edit view through interaction.response.edit_messageGravatar shtlrs2022-12-04-18/+5
| | | | | | |
| * | | | | | relay the newly created view to __attach_persistent_roles_viewGravatar shtlrs2022-12-04-8/+15
| | | | | | |
| * | | | | | ditch prepare_self_assignable_roles_view by constructing the buttons inside ↵Gravatar shtlrs2022-12-04-21/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the view itself
| * | | | | | make SELF_ASSIGNABLE_ROLES_MESSAGE more inviting for people to interact withGravatar shtlrs2022-12-04-1/+5
| | | | | | |
| * | | | | | update custom id of the AllSelfAssignableRolesView's buttonGravatar shtlrs2022-12-04-1/+1
| | | | | | |
| * | | | | | use button decorator instead of subclassing discord.ui.ButtonGravatar shtlrs2022-12-04-20/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help clarify the relationship between the button & the viw since it'll only be used there
| * | | | | | 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
|/ / / / / /
* | | | | | Merge pull request #2357 from python-discord/update-modlog-for-threadsGravatar Johannes Christ2022-12-11-19/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update modlog for threads
| * \ \ \ \ \ Merge branch 'main' into update-modlog-for-threadsGravatar Xithrius2022-12-11-5/+5
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #2361 from python-discord/dependabot/pip/certifi-2022.12.7Gravatar wookie1842022-12-09-3/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Bump certifi from 2022.9.24 to 2022.12.7
| * | | | | | | Bump certifi from 2022.9.24 to 2022.12.7Gravatar dependabot[bot]2022-12-09-3/+3
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [certifi](https://github.com/certifi/python-certifi) from 2022.9.24 to 2022.12.7. - [Release notes](https://github.com/certifi/python-certifi/releases) - [Commits](https://github.com/certifi/python-certifi/compare/2022.09.24...2022.12.07) --- updated-dependencies: - dependency-name: certifi dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]>
* | | | | | | Merge pull request #2351 from python-discord/maybe-fix-help-stats-bugGravatar wookie1842022-12-08-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Don't count bot messages as an answer in a thread
| * \ \ \ \ \ \ Merge branch 'main' into maybe-fix-help-stats-bugGravatar wookie1842022-12-08-1/+1
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | Don't count bot messages as an answer in a threadGravatar wookie1842022-11-30-2/+2
| | | | | | | |
| | * | | | | | Move thread logging to message change logGravatar Chris Lovering2022-12-07-2/+4
| | | | | | | |
| | * | | | | | Remove thread creation loggingGravatar Chris Lovering2022-12-07-17/+0
| |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #2356 from ↵Gravatar mina2022-12-04-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | python-discord/fix-help-channel-open-with-no-content
| * | | | | | Fix help channels with no content not opening properlyGravatar Chris Lovering2022-12-04-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Chanels that just contained one or more images as an exampole would have the message.content equal to the empty string which != None, so the current check never got hit. Closes #2355 Closes BOT-3BW
| | | * | | Merge branch 'main' into 2301-fix-voting-conditionsGravatar wookie1842022-11-30-2021/+1115
| | | |\ \ \ | |_|_|/ / / |/| | | | |
* | | | | | Merge pull request #2350 from python-discord/return-jif-renameGravatar mina2022-11-30-0/+1
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | |