aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into allow-passing-channel-objets-when-checking-ignoreGravatar wookie1842023-01-13-0/+27
|\
| * added under command Issue #2331 (#2354)Gravatar DivyanshuBist2023-01-13-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * added under command Issue #2331 * hooks test * hooks tests * 2331_added_under_command * Update bot/resources/tags/under.md Co-authored-by: Xithrius <[email protected]> * Update bot/resources/tags/under.md Co-authored-by: Xithrius <[email protected]> * Update bot/resources/tags/under.md Co-authored-by: Xithrius <[email protected]> * Suggested Changes were committed Co-authored-by: Xithrius <[email protected]> * Update under.md * Update bot/resources/tags/under.md Co-authored-by: Vivek Ashokkumar <[email protected]> * updated bot\resources\tags\under.md * update bot\resources\tags\under.md * update bot\resources\tags\under.md * updated under.md * Update and rename under.md to underscore.md Co-authored-by: divyanshu <[email protected]> Co-authored-by: Xithrius <[email protected]> Co-authored-by: Vivek Ashokkumar <[email protected]> Co-authored-by: wookie184 <[email protected]>
* | Allow passing ful channel objects to check if the channel is ignoredGravatar Chris Lovering2023-01-03-3/+4
|/ | | | This means that the is_channel_ignored fucntion can be used with on_*_delete events that have the channel object, but can't be retreived fromthe cache by the is_channel_ignored function
* 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 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]>