aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Fix some of the testing for information.py; I think this should be it. ↵Gravatar Deniz2020-02-06-2/+2
| | | | (hopefully).
* Change if statement to elif; if the first if statement returns true, the ↵Gravatar Deniz2020-02-06-1/+1
| | | | second cannot be true making it unneccesary to check
* Fix up imports a bit; there's no need to import all of discord and typing ↵Gravatar Deniz2020-02-06-10/+7
| | | | for just 1 or 2 uses (e.g. Union, and Message).
* Instead of sending a message everytime a role can't be converted, append it ↵Gravatar Deniz2020-02-06-1/+8
| | | | to a list, and then send them it at once (less spammy)
* Update tests to reflect status changesGravatar Deniz2020-02-06-4/+4
|
* Refactor how channels and statuses are counted; using Counter() - way cleaner.Gravatar Deniz2020-02-06-35/+17
|
* Remove some a lot of unneccesary newlines that arguably make it harder to readGravatar Deniz2020-02-06-9/+2
|
* Roles cannot return None because everyone has the Developer role by default, ↵Gravatar Deniz2020-02-06-1/+1
| | | | and non-verified users cannot use this command.
* No longer check if every role is @everyone; just skip the first element in ↵Gravatar Deniz2020-02-06-3/+2
| | | | the list
* Merge pull request #737 from python-discord/remove-prometheusGravatar Mark2020-02-05-272/+128
|\ | | | | Remove prometheus related code
| * Merge branch 'master' into remove-prometheusGravatar S. Co12020-02-05-41/+71
| |\ | |/ |/|
* | Merge pull request #739 from python-discord/resources-moveGravatar Leon Sandøy2020-02-05-2/+2
|\ \ | | | | | | Move tools and questions guide to under resources
| * | Add missing slash to asking good questions url.Gravatar scragly2020-02-06-1/+1
| | |
| * | Move tools and questions guide to under resourcesGravatar scragly2020-02-05-2/+2
|/ / | | | | | | | | After the wiki pages adjustment to the resources page, these two urls are needing to be updated to point to the new correct locations for each page. Tools will be under resources, and Asking Good Questions is a guide, so will be under Guides.
* | Relay attachments to log channel before filters delete message (#630)Gravatar scragly2020-02-04-39/+69
|\ \ | | | | | | Relay attachments to log channel before filters delete message
| * | Use a trailing underscore to avoid name conflicts. Gravatar scragly2020-02-04-2/+2
| | | | | | | | | Previously used a leading underscore, but that's usually meant for non-used names.
| * | Change typehint name for the attachment-log constantGravatar Matteo Bertucci2020-02-03-1/+1
| | |
| * | Merge branch 'master' into #549-show-attachments-staffGravatar Matteo Bertucci2020-02-03-508/+1333
| |\ \ | |/ / |/| |
| * | Replace constant attachment-repost by the actual ID of #attachment-logGravatar Matteo Bertucci2020-02-03-4/+3
| | |
| * | Relay attchments to #attachment_logGravatar Akarys422019-12-14-1/+2
| | |
| * | Merge branch 'master' into #549-show-attachments-staffGravatar Matteo Bertucci2019-12-12-334/+1348
| |\ \
| * | | AntiSpam: remove bot field from DeletionContextGravatar MarkKoz2019-12-03-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | The destination channel can be retrieved be accessing a message's guild. * Remove unused queue_consumption_tasks attribute.
| * | | ModLog: fix 0 message logs uploaded when no attachments givenGravatar MarkKoz2019-12-03-8/+3
| | | |
| * | | AntiSpam: correct a function annotationGravatar MarkKoz2019-12-03-3/+3
| | | |
| * | | AntiSpam: replace reupload_attachments with send_attachments from utilsGravatar MarkKoz2019-12-03-28/+6
| | | |
| * | | Utils: have send_attachments save attachments using the cached URLGravatar MarkKoz2019-12-03-1/+1
| | | | | | | | | | | | | | | | | | | | This makes it more likely to successfully save an attachment after it's been deleted.
| * | | Utils: log send_attachments failures instead of raising exceptionsGravatar MarkKoz2019-12-03-1/+10
| | | |
| * | | Utils: add send_attachments param to disable linking to too-large filesGravatar MarkKoz2019-12-03-7/+14
| | | |
| * | | Utils: use the guild's filesize_limit to determine max attachment sizeGravatar MarkKoz2019-12-03-4/+3
| | | |
| * | | Utils: support returning URLs from send_attachmentsGravatar MarkKoz2019-12-03-4/+8
| | | |
| * | | ModLog: use more generic type annotationsGravatar MarkKoz2019-12-03-4/+4
| | | |
| * | | Merge branch 'master' into #549-show-attachments-staffGravatar Matteo Bertucci2019-11-29-1055/+2005
| |\ \ \
| * | | | Re-upload attachments to #attachment-logGravatar Matteo Bertucci2019-11-28-1/+1
| | | | |
| * | | | Update try/except block in reupload_attachments()Gravatar Matteo Bertucci2019-11-28-2/+5
| | | | |
| * | | | Fix misspellingGravatar Matteo Bertucci2019-11-28-1/+1
| | | | | | | | | | | | | | | Co-Authored-By: Mark <[email protected]>
| * | | | Add try/except for attachment savingGravatar Akarys422019-11-27-5/+8
| | | | |
| * | | | Move attachments re-uploading to DeletionContext.add()Gravatar Akarys422019-11-27-24/+47
| | | | | | | | | | | | | | | | | | | | So they are re-uploaded before being deleted
| * | | | Re-indent argumentsGravatar Matteo Bertucci2019-11-19-3/+3
| | | | |
| * | | | Use a context manager for the bufferGravatar Matteo Bertucci2019-11-15-4/+4
| | | | | | | | | | | | | | | Co-authored-by: Shirayuki Nekomata <[email protected]>
| * | | | Re-post attachmentsGravatar Matteo Bertucci2019-10-31-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | Before sending the attachments to API for logging, we now re-post them in the channel that have the id stored in the constant Guild.attachment_repost (it needs to be configured). These new links will never expires.
| | | | * Merge branch 'master' into remove-prometheusGravatar Joseph2020-02-02-1/+1
| | | | |\ | |_|_|_|/ |/| | | |
* | | | | Update CODEOWNERSGravatar Joseph2020-02-02-1/+1
| | | | |
| | | | * Remove prometheus related codeGravatar Joseph Banks2020-02-02-272/+128
| |_|_|/ |/| | |
* | | | Merge pull request #736 from python-discord/tagptroll1-md-filefilterGravatar kwzrd2020-02-02-0/+1
|\ \ \ \ | | | | | | | | | | Update config-default.yml - Allow .md files
| * | | | Update config-default.ymlGravatar Thomas Petersson2020-02-02-0/+1
|/ / / /
* | | | Create CODEOWNERSGravatar Joseph2020-02-02-0/+1
| | | |
* | | | Merge pull request #735 from python-discord/test-resourcesGravatar Leon Sandøy2020-01-30-1/+8
|\ \ \ \ | | | | | | | | | | Add additional resources to the test readme
| * | | | Merge the note with the additional resources sectionGravatar Matteo Bertucci2020-01-30-1/+2
| | | | | | | | | | | | | | | Move the link to Ned Batchelder’s talk and link the note to the section
| * | | | Add additional resources to the test readmeGravatar Matteo Bertucci2020-01-30-0/+6
|/ / / /
* | | | Merge pull request #730 from python-discord/user-info-fixGravatar Mark2020-01-16-1/+5
|\ \ \ \ | | | | | | | | | | Fix user command error for empty custom status