| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Fix string quotes | 2021-11-28 | -5/+6 | |
| | | ||||
| * | Merge branch 'python-discord:main' into patreon | 2021-11-28 | -38/+407 | |
| |\ | ||||
| | * | Use bright_green for "Currently Helping" DMs (#1979) | 2021-11-28 | -1/+1 | |
| | | | | | | | Co-authored-by: Xithrius <[email protected]> | |||
| | * | Merge pull request #1980 from python-discord/bsoyka/rules-bug | 2021-11-27 | -1/+4 | |
| | |\ | | | | | | | Limit the length of the invalid rule indices message | |||
| | | * | Change placeholder for invalid rules message shortening | 2021-11-27 | -1/+2 | |
| | | | | | | | | | | | | | ... is used everywhere else across the codebase where extwrap.shorten is used, so I'm making it match here. | |||
| | | * | Limit length of the invalid rule indices message | 2021-11-27 | -1/+3 | |
| | |/ | ||||
| | * | Suppress NotFound error when cleaning messages | 2021-11-24 | -1/+2 | |
| | | | | | | | | | | | * Added suppress for notfound error * Update clean.py | |||
| | * | Merge pull request #1971 from python-discord/optional-timeblocks | 2021-11-23 | -2/+11 | |
| | |\ | | | | | | | Deal with activity_blocks not being returned by site | |||
| | | * | Deal with activity_blocks not being returned by site | 2021-11-22 | -2/+11 | |
| | |/ | | | | | | | | | | | We are planning to change metricity endpoints on site so that activcity_blocks are not returned if the user has more than 1000 messages. This is because the query to calculate those blocks can get expensive at a high message count. To deal with this, both places activity_blocks are used has been changed to reflect this planned behaviour. | |||
| | * | Merge pull request #1959 from python-discord/allow-reply-in-remind | 2021-11-22 | -2/+16 | |
| | |\ | | | | | | | Add ability to reply to message for `!remind` | |||
| | | * | Merge branch 'main' into allow-reply-in-remind | 2021-11-22 | -29/+371 | |
| | | |\ | | |/ | |/| | ||||
| | * | | Merge pull request #1966 from python-discord/disable-file-logs | 2021-11-21 | -9/+11 | |
| | |\ \ | | | | | | | | | Disable File Logging By Default | |||
| | | * | | Disable File Logging By Default | 2021-11-20 | -9/+11 | |
| | |/ / | | | | | | | | | | | | | | | | | | | Place logging to file behind an environment variable, and remove special considerations made for it. Signed-off-by: Hassan Abouelela <[email protected]> | |||
| | * | | Merge pull request #1965 from python-discord/ChrisLovering-patch-1 | 2021-11-19 | -2/+2 | |
| | |\ \ | | | | | | | | | Remove unneeded new lines | |||
| | | * | | Remove unneeded new lines | 2021-11-19 | -2/+2 | |
| | |/ / | | | | | | | These new lines made the output embed look far to spaced out. | |||
| | * | | Merge pull request #1446 from Shivansh-007/feature/enhance-incidents | 2021-11-19 | -17/+342 | |
| | |\ \ | | | | | | | | | Enhancing information within the incidents channel. | |||
| | | * \ | Merge branch 'main' into feature/enhance-incidents | 2021-11-18 | -566/+1123 | |
| | | |\ \ | | |/ / | |/| | | ||||
| | * | | | Merge pull request #1953 from python-discord/jb3/guild-features-channels | 2021-11-17 | -1/+4 | |
| | |\ \ \ | ||||
| | | * \ \ | Merge branch 'main' into jb3/guild-features-channels | 2021-11-17 | -2/+14 | |
| | | |\ \ \ | | |/ / / | |/| | | | ||||
| | * | | | | Don't log threads in admin channels (#1954) | 2021-11-16 | -0/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change disables the mod-log for any changes to threads in channels that mods don't have read perms to. Co-authored-by: Kieran Siek <[email protected]> | |||
| | | * | | | Add #bot-commands to guild features in !server | 2021-11-14 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents spam in dev-contrib and dev-core from people trying to find which Discord feature flags are enabled for Python Discord. It's not ideal that we have to increase output size in #bot-commands but it prevents spam in #dev-contrib. | |||
| | | | * | | Check if log entry has embeds before indexing them | 2021-11-10 | -1/+4 | |
| | | | | | | ||||
| | | | * | | Explicitly show there is no message content | 2021-11-07 | -5/+4 | |
| | | | | | | ||||
| | | | * | | SHow thread parent name if linked message in thread | 2021-11-07 | -1/+3 | |
| | | | | | | ||||
| | | | * | | Attach attachments if present in linked message | 2021-11-07 | -0/+2 | |
| | | | | | | ||||
| | | | * | | Add no message content handling | 2021-11-07 | -4/+6 | |
| | | | | | | ||||
| | | | * | | Merge branch 'main' into feature/enhance-incidents | 2021-10-21 | -98/+127 | |
| | | | |\ \ | ||||
| | | | * | | | Missed a change for 43bed60 | 2021-10-21 | -1/+1 | |
| | | | | | | | ||||
| | | | * | | | Fix helpers view perms check to use 'permissions_for' | 2021-10-21 | -3/+2 | |
| | | | | | | | ||||
| | | | * | | | avatar.url -> display_avatar.url | 2021-10-21 | -1/+1 | |
| | | | | | | | ||||
| | | | * | | | Fix incident webhook fetch validation | 2021-10-19 | -2/+3 | |
| | | | | | | | ||||
| | | | * | | | Add message creation timestamp to message link embed | 2021-10-19 | -1/+2 | |
| | | | | | | | ||||
| | | | * | | | Make docstring clear about max length | 2021-10-19 | -2/+6 | |
| | | | | | | | ||||
| | | | * | | | Removing config validation checks | 2021-10-19 | -5/+1 | |
| | | | | | | | ||||
| | | | * | | | Refactor shorten_text utility function | 2021-10-18 | -8/+10 | |
| | | | | | | | ||||
| | | | * | | | Merge remote-tracking branch 'upstream/main' into feature/enhance-incidents | 2021-10-17 | -712/+1036 | |
| | | | |\ \ \ | ||||
| | | | * | | | | Add incidents check in delete and reaction handlers also | 2021-10-17 | -3/+5 | |
| | | | | | | | | ||||
| | | | * | | | | Check for webhook availability before extracting msg links | 2021-10-17 | -3/+4 | |
| | | | | | | | | ||||
| | | | * | | | | Use scheduling create_task util instead of creating from loop directly | 2021-10-12 | -2/+4 | |
| | | | | | | | | ||||
| | | | * | | | | Update typehints | 2021-10-12 | -13/+13 | |
| | | | | | | | | ||||
| | | | * | | | | Add error handling on modlog channel fetch | 2021-10-12 | -1/+6 | |
| | | | | | | | | ||||
| | | | * | | | | Correct discord message link regex | 2021-10-12 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The biggest size a Discord snowflake can be is 20. Co-authored-by: Bluenix <[email protected]> | |||
| | | | * | | | | Refactor `shorten_text` utility function | 2021-10-11 | -9/+20 | |
| | | | | | | | | ||||
| | | | * | | | | Apply requested grammar and style changes | 2021-10-11 | -36/+31 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]> Co-authored-by: Boris Muratov <[email protected]> | |||
| | | | * | | | | Goodbye enhanced incidents edits | 2021-10-11 | -64/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was discussed with Mr.Webscale (joe), Xithrius in dev-voice | |||
| | | | * | | | | Sends msg embeds for helper readable msgs only | 2021-10-11 | -2/+9 | |
| | | | | | | | | ||||
| | | | * | | | | Handle message not found specially | 2021-10-11 | -2/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally message not found would be passed into discord.Exceptions and then would be logged which was unnecessary for a `MessageNotFound` error. Now this has been handled, if the bot receives a deleted message it would look through the last 100 messages of mod_logs channel to check if a log entry exists for that message. If one exists, then the incident embed would have this log entry message linked to it, if it doesn't it would send a message not found error embed. In future, we could maybe do the modlog deleted message entry finding via the python discord API, rather than using hard coded values and checking if they are existing in the log entry. | |||
| | | | * | | | | Remove unnecessary check for embed when sending | 2021-10-11 | -1/+1 | |
| | | | | | | | | ||||
| | | | * | | | | Correct log trace link to show the correct behaviour | 2021-10-11 | -1/+1 | |
| | | | | | | | | ||||
| | | | * | | | | Mock id,content attribute rather than type casting | 2021-10-11 | -5/+6 | |
| | | | | | | | | ||||