aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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
|\
| * Merge pull request #2347 from shtlrs/improve-get-or-fetch-channel-type-hintsGravatar ChrisJL2022-11-27-1/+3
| |\ | | | | | | include Thread & PrivateChannel in get_or_fetch_channel return types
| | * Merge branch 'main' into improve-get-or-fetch-channel-type-hintsGravatar ChrisJL2022-11-27-11/+8
| | |\ | | |/ | |/|
| * | Update return.md (#2325)Gravatar Steele Farnsworth2022-11-27-11/+8
| | | | | | | | | | | | | | | Made the tag more brief without any substantial changes to its overall approach. Co-authored-by: wookie184 <[email protected]>
| | * include Thread & PrivateChannel in get_or_fetch_channel return typesGravatar shtlrs2022-11-27-1/+3
| |/
| * Merge pull request #2342 from python-discord/don't-close-already-closed-postsGravatar ChrisJL2022-11-27-0/+6
| |\ | | | | | | Don't close already closed posts
| | * Don't close already closed postsGravatar Chris Lovering2022-11-27-0/+6
| |/
| * Merge pull request #2333 from erlend-aasland/patch-1Gravatar wookie1842022-11-27-1/+1
| |\ | | | | | | Link directly to the sqlite3 placeholder howto
| | * Merge branch 'main' into patch-1Gravatar wookie1842022-11-27-1970/+1034
| | |\ | | |/ | |/|
| * | Merge pull request #2339 from python-discord/auto-archive-help-postsGravatar Boris Muratov2022-11-26-64/+165
| |\ \ | | | | | | | | Help forum improvements
| | * | Catch case where starter message is deleted before pinningGravatar Chris Lovering2022-11-26-2/+4
| | | |
| | * | Update CODEOWNERSGravatar Chris Lovering2022-11-26-1/+0
| | | |
| | * | Ensure constants.Channels.help_system_forum is a forum channel on loadGravatar Chris Lovering2022-11-26-1/+3
| | | |
| | * | Listen for thread starter on_message rather than thread_createGravatar Chris Lovering2022-11-26-10/+19
| | | | | | | | | | | | | | | | thread_create events are triggered before the thread's starter message is available, so listening for starter messages with on_message instead ensures we have a message object to use.
| | * | Auto archive help forum posts after inactivityGravatar Chris Lovering2022-11-26-1/+78
| | | | | | | | | | | | | | | | | | | | | | | | I decided to keep the archive logic simple, and just go for 30 minutes since last message, rather than the hybrid of 30 mins + 10 depending on who sent the last message. The reason for using the hybrid approach previously was due to us running out of channels frequently Since this is no longer a problem, I decided to keep the logic simple.
| | * | Don't load the help channel cog if disabledGravatar Chris Lovering2022-11-26-0/+7
| | | |
| | * | Consistantly refer to help posts as posts, not threadsGravatar Chris Lovering2022-11-26-47/+47
| | | |
| | * | Get, and store, the help forum channel object on cog loadGravatar Chris Lovering2022-11-26-4/+9
| |/ /
| | * Link directly to the sqlite3 placeholder howtoGravatar Erlend E. Aasland2022-11-25-1/+1
| | |
* | | 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
|/ /
* | Merge pull request #2338 from python-discord/bump-bot-coreGravatar ChrisJL2022-11-26-690/+595
|\ \ | | | | | | Bump bot core version
| * | Ignore Discord errors when clearing snekbox reactionsGravatar Chris Lovering2022-11-26-2/+3
| | | | | | | | | | | | These errors can be caused by the message being deleted, or the message being in an archived thread