aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | | | | | | | Merge branch 'main' into solve-bot-1852Gravatar ChrisJL2021-10-14-41/+39
| |\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / |/| | | | | | | | | | | |
| * | | | | | | | | | | | Distinguish between note/warning and expired infraction in error messageGravatar Izan2021-10-06-3/+4
| | | | | | | | | | | | |
| | * | | | | | | | | | | Merge branch 'main' into fix-infract-then-dmGravatar Hassan Abouelela2021-10-11-41/+39
| | |\ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / |/| | | | | | | | | | | |
| | * | | | | | | | | | | Only send DM before applying infraction for ban/kickGravatar TizzySaurus2021-10-11-2/+2
| | | | | | | | | | | | |
| | * | | | | | | | | | | Remove redundant `else` clausesGravatar Izan2021-10-10-8/+5
| | | | | | | | | | | | |
| | * | | | | | | | | | | Merge branch 'main' into fix-infract-then-dmGravatar TizzySaurus2021-10-06-3/+6
| | |\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | |
| | * | | | | | | | | | | Attempt infraction before DMingGravatar Izan2021-10-06-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents users getting sent an infraction message when the infraction then fails. This time it won't DM for notes :p
| | | * | | | | | | | | | Voice gate: set tzinfo to None in author.joined_atGravatar Matteo Bertucci2021-10-15-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Defcon: remove tzinfo from member.created_atGravatar Matteo Bertucci2021-10-15-1/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Merge branch 'main' into discord-2.0Gravatar Matteo Bertucci2021-10-13-38/+32
| | | |\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / / |/| | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #1836 from python-discord/tags-revisionGravatar Matteo Bertucci2021-10-11-37/+23
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix typos and grammar in tags
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into tags-revisionGravatar Matteo Bertucci2021-10-11-189/+430
| |\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | |
| * | | | | | | | | | | | | Fix typoGravatar TizzySaurus2021-10-08-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| * | | | | | | | | | | | | Bluenix Review #4Gravatar Izan2021-10-08-2/+2
| | | | | | | | | | | | | |
| * | | | | | | | | | | | | Bluenix Review #3Gravatar Izan2021-09-26-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Another fix in `windows-path.md`
| * | | | | | | | | | | | | Bluenix Review #2Gravatar Izan2021-09-25-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Made some more fixes in `async-await.md`
| * | | | | | | | | | | | | Merge remote-tracking branch 'origin/tags-revision' into tags-revisionGravatar Izan2021-09-25-7/+0
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| | * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into tags-revisionGravatar ToxicKidz2021-09-20-7/+0
| | |\ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | Bluenix ReviewGravatar Izan2021-09-25-27/+13
| |/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit should be squashed upon PR merge. - Made changes in `async-await.md`, including changing `run_until_complete()` to `asyncio.run()` - Minor changes in `traceback.md` - Rewriting `windows-path.md`
| * | | | | | | | | | | | | | Fix typos and grammar in tagsGravatar Izan2021-09-20-18/+18
| | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | Merge branch 'main' into discord-2.0Gravatar Matteo Bertucci2021-10-10-245/+541
| | | | | |\ \ \ \ \ \ \ \ \ \
| | | | | * | | | | | | | | | | Test incidents: correct avatar referenceGravatar Matteo Bertucci2021-10-05-1/+1
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Defcon: ignore create thread permsGravatar Matteo Bertucci2021-10-05-4/+0
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | avatar.url -> display_avatar.urlGravatar Matteo Bertucci2021-10-05-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avatar can apparently be none, which means traceback and a very sad akarys
| | | | | * | | | | | | | | | | Modlog: change thread logging to past-tenseGravatar Matteo Bertucci2021-09-21-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | * | | | | | | | | | | Bot: remove inaccurate docstringsGravatar Matteo Bertucci2021-09-19-1/+0
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Bot: update comment on joining threadsGravatar Matteo Bertucci2021-09-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | * | | | | | | | | | | Modlog: reuse logic for the message blacklistGravatar Matteo Bertucci2021-09-19-13/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | | | | * | | | | | | | | | | Modlog: thread supportGravatar Matteo Bertucci2021-09-15-0/+58
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Defcon: add thread perms to (un)shutdownGravatar Matteo Bertucci2021-09-15-2/+16
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Silence tests: use thread permsGravatar Matteo Bertucci2021-09-15-10/+54
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Silence: remove thread related permissionsGravatar Matteo Bertucci2021-09-12-2/+16
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Modlog: respect blacklist with threadsGravatar Matteo Bertucci2021-09-12-19/+36
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Silence: forbid threads from being silencedGravatar Matteo Bertucci2021-09-06-1/+7
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Make the bot auto-join threadsGravatar Matteo Bertucci2021-09-06-1/+17
| | | | | | | | | | | | | | | |
| | | | | * | | | | | | | | | | Migrate to Discord.py 2.0a0Gravatar Matteo Bertucci2021-09-06-139/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case). This commits fixes any problem related to the migration: - New avatar interface - TZ aware datetimes - Various inernal API changes
| | | | | | | | | | | | | | | * Add incidents check in delete and reaction handlers alsoGravatar Shivansh-0072021-10-17-3/+5
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Check for webhook availability before extracting msg linksGravatar Shivansh-0072021-10-17-3/+4
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Use scheduling create_task util instead of creating from loop directlyGravatar Shivansh-0072021-10-12-2/+4
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Update typehintsGravatar Shivansh-0072021-10-12-13/+13
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Add error handling on modlog channel fetchGravatar Shivansh-0072021-10-12-1/+6
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Correct discord message link regexGravatar Shivansh-0072021-10-12-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The biggest size a Discord snowflake can be is 20. Co-authored-by: Bluenix <[email protected]>
| | | | | | | | | | | | | | | * Refactor `shorten_text` utility functionGravatar Shivansh-0072021-10-11-9/+20
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Apply requested grammar and style changesGravatar Shivansh-0072021-10-11-36/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Bluenix <[email protected]> Co-authored-by: Boris Muratov <[email protected]>
| | | | | | | | | | | | | | | * Goodbye enhanced incidents editsGravatar Shivansh-0072021-10-11-64/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Was discussed with Mr.Webscale (joe), Xithrius in dev-voice
| | | | | | | | | | | | | | | * Sends msg embeds for helper readable msgs onlyGravatar Shivansh-0072021-10-11-2/+9
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Handle message not found speciallyGravatar Shivansh-0072021-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 sendingGravatar Shivansh-0072021-10-11-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Correct log trace link to show the correct behaviourGravatar Shivansh-0072021-10-11-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | * Mock id,content attribute rather than type castingGravatar Shivansh-0072021-10-11-5/+6
| | | | | | | | | | | | | | | |