aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 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 pull request #2350 from python-discord/return-jif-renameGravatar mina2022-11-30-0/+1
|\
| * Rename print-return to return-gifGravatar Janine vN2022-11-29-0/+1
|/ | | | Adds the previous name as an alias as well
* Merge pull request #2344 from python-discord/dont-use-removed-talentpool-cacheGravatar wookie1842022-11-29-9/+17
|\ | | | | Dont use removed talentpool cache
| * Merge branch 'main' into dont-use-removed-talentpool-cacheGravatar wookie1842022-11-29-17/+17
| |\ | |/ |/|
* | Merge pull request #2349 from python-discord/record-help-channel-claimsGravatar ChrisJL2022-11-28-5/+6
|\ \ | | | | | | Use the old stat slugs in new help system
| * | Use the old stat slugs in new help systemGravatar Chris Lovering2022-11-28-5/+6
|/ /
* | 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
|/ /
| * Fetch active nominations from the API for !server commandGravatar Chris Lovering2022-11-27-3/+3
| | | | | | | | The nomination cache was recently removed, so accessing that no longer works.
| * Typehint bot.get_cog calls in information cogGravatar Chris Lovering2022-11-27-7/+15
|/
* 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
|/ /
* | 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
| * | Update botcore module nameGravatar Chris Lovering2022-11-26-59/+59
| | |
| * | Bump all deps to latestGravatar Chris Lovering2022-11-26-403/+303
| | |
| * | Bump bot-core versionGravatar Chris Lovering2022-11-26-232/+236
|/ /
* | Merge pull request #2337 from python-discord/help-forum-fixesGravatar ChrisJL2022-11-26-64/+76
|\ \ | | | | | | Misc Fixes For Help Forum
| * | Refactor Thread Error CatchingGravatar Hassan Abouelela2022-11-26-17/+17
| | | | | | | | | | | | | | | | | | Co-authored-by: Boris Muratov <[email protected]> Co-authored-by: Amrou Bellalouna <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
| * | Handle Images As Starter MessagesGravatar Hassan Abouelela2022-11-26-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | In the case of an image or other media as the starter message, the formatted message in the help DM will be empty, which is invalid for the embed. We populate the field with some more useful text in this case. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Check If Thread Is Closed In PaginationGravatar Hassan Abouelela2022-11-26-55/+38
| | | | | | | | | | | | | | | | | | | | | Similar to 555ed4e9, the pagination utility needs to catch when it's trying to act on an archived thread. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Check If Thread Is Closed In wait_for_deletionGravatar Hassan Abouelela2022-11-26-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The wait_for_deletion utility would try to remove reactions from a message after the timeout expires, which would normally be fine. In threads however, they can be closed while waiting for the timeout to expire. In such a case, the bot will try to remove the reactions after the channel has been closed and fail. A special exception was added for this case to do nothing, since this is only a QoL feature. Signed-off-by: Hassan Abouelela <[email protected]>
| * | Catch Failure In Pining Help Starter MessageGravatar Hassan Abouelela2022-11-26-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | The old method for detecting deleted opener messages does not seem to work, probably because the message is fetched from a cache or similar. Instead we simply try/except pinning the message and pass if the pinning failed. Signed-off-by: Hassan Abouelela <[email protected]>