aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into pr/serverinfoleadsGravatar ChrisJL2021-08-06-111/+269
|\
| * Merge pull request #1709 from ↵Gravatar ChrisJL2021-08-04-13/+14
| |\ | | | | | | | | | | | | python-discord/bug/bot-1jd/backend/wait-for-deletion-404 Catch 404 error when waiting to delete message
| | * Merge branch 'main' into bug/bot-1jd/backend/wait-for-deletion-404Gravatar ChrisJL2021-08-04-90/+230
| | |\ | | |/ | |/|
| * | Reorder user roles in !user command from highest to lowest (#1719)Gravatar Objectivitix2021-08-04-1/+3
| | | | | | | | | Reorder user roles in !user command from highest to lowest
| * | Suppress 403 error when sending DEFCON reject DM (#1711)Gravatar Mark2021-08-04-3/+5
| | | | | | | | | | | | | | | 403 occurs if the user has DMs disabled. Fixes BOT-137
| * | Merge pull request #1708 from python-discord/bug/mod/1706/infr-append-no-reasonGravatar Boris Muratov2021-08-04-1/+1
| |\ \ | | | | | | | | Fix TypeError when infraction append is not given a reason
| | * \ Merge branch 'main' into bug/mod/1706/infr-append-no-reasonGravatar Boris Muratov2021-08-04-85/+221
| | |\ \ | | |/ / | |/| |
| * | | Force utf-8 decoding when querying metabaseGravatar Chris Lovering2021-08-03-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Some discord usernames contain unicode characters, which causes an decoding error as chardet isn't 100% and can't falsely detect the response text as Windows-1254.
| * | | Merge pull request #1705 from wookie184/autoreview-toggleGravatar Boris Muratov2021-08-03-4/+66
| |\ \ \ | | | | | | | | | | Add commands to turn automatic review posting on or off
| | * \ \ Merge branch 'main' into autoreview-toggleGravatar Boris Muratov2021-08-03-79/+153
| | |\ \ \ | | |/ / / | |/| | |
| * | | | Merge pull request #1712 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-08-03-1/+2
| |\ \ \ \ | | | | | | | | | | | | Correctly delete from cache in ModPings
| | * \ \ \ Merge branch 'main' into mbaruh-patch-1Gravatar ChrisJL2021-08-03-78/+131
| | |\ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Update Sentry SDK to 1.3Gravatar MarkKoz2021-08-03-78/+131
| | | | | |
| | * | | | Correctly delete from cacheGravatar Boris Muratov2021-08-03-1/+2
| |/ / / / | | | | | | | | | | | | | | | * Fixed wrong condition in rescheduler which made the eventual consistency not work. * Mods now correctly removed from cache on role reapplies.
| * | | | Add virtual environment (venv) tag (#1702)Gravatar Zack Didcott2021-08-02-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add virtual environment (venv) tag Co-authored-by: bast0006 <[email protected]> Co-authored-by: wookie184 <[email protected]> Co-authored-by: Xithrius <[email protected]>
| | * | | Add comment on RedisCacheGravatar wookie1842021-08-03-0/+2
| | | | |
| | * | | Add check for redundant changeGravatar wookie1842021-08-03-0/+8
| | | | |
| | * | | Remove bot prefix from docstring and change single quotes to doubleGravatar wookie1842021-08-03-11/+11
| | | | |
| | * | | Rename commands from on/off to enable/disableGravatar wookie1842021-08-02-8/+8
| | | | | | | | | | | | | | | Added on/off as aliases
| | * | | Small code improvements and added 'ar' aliasGravatar wookie1842021-08-02-6/+7
| | | | |
| | * | | Add commands to turn automatic review posting on or offGravatar wookie1842021-08-01-4/+55
| |/ / /
| | * / Fix TypeError when infraction append is not given a reasonGravatar MarkKoz2021-08-02-1/+1
| |/ / | | | | | | | | | Fix #1706
| | * Reduce imports in utils/messages by qualifying namesGravatar MarkKoz2021-08-02-8/+6
| | |
| | * Catch 404 error when waiting to delete messageGravatar MarkKoz2021-08-02-5/+8
| |/ | | | | | | | | | | | | | | Sometimes the message is deleted before the function gets around to it. Fixes BOT-1JD Fixes BOT-1K3 Fixes BOT-1JE
| * Merge pull request #1704 from python-discord/whitelist-pydis-partnersGravatar Matteo Bertucci2021-07-31-1/+2
| |\ | | | | | | Add partners to the filtering whitelist
| | * Add partners to the filtering whitelistGravatar Chris Lovering2021-07-31-1/+2
| |/ | | | | | | A partner being filtered is highly unlikely to be correct
| * Prevent ghost-pings in pypi command (#1696)Gravatar TizzySaurus2021-07-25-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Update `utils.messages.wait_for_deletion` Will now clear reactions after the timeout ends to indicate it's no longer possible to delete the message through reactions. * Update pypi command to not ghost-ping users Will no longer ghost-ping users when an invalid packaged is search containing a ping and reaction is pressed to delete message. * Update local file * Remove redundant code No longer try to clear reactions after calling `utils.messages.wait_for_deletion()` since the util now does it. * Remove trailing whitespace * Remove redundant import * Fix NameErrors * Remove redundant import * Reword comment * Update `contextlib.suppress` import to be consistent * Update docstring to reflect earlier changes * Update docstring to be more informative * Update to delete error message if invocation doesn't ping * Update to delete error message if invocation doesn't ping
| * Merge pull request #1694 from TizzySaurus/Update-docs-get-to-prevent-ghost-pingsGravatar ChrisJL2021-07-23-4/+8
| |\ | | | | | | Prevent ghost-pings in docs get command
| | * Add commentGravatar TizzySaurus2021-07-23-0/+1
| | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * Remove extra lineGravatar TizzySaurus2021-07-23-1/+0
| | | | | | | | | Co-authored-by: Bluenix <[email protected]>
| | * Fix typo causing NameErrorGravatar TizzySaurus2021-07-23-1/+1
| | |
| | * Delete reaction if error_message not deleted.Gravatar TizzySaurus2021-07-23-1/+4
| | |
| | * Remove extra linesGravatar TizzySaurus2021-07-23-1/+0
| | |
| | * Remove deprecated functionGravatar TizzySaurus2021-07-23-10/+0
| | |
| | * Update code to use `utils.messages.wait_for_deletion`Gravatar TizzySaurus2021-07-23-22/+3
| | |
| | * Remove blankline that flake8 doesn't likeGravatar TizzySaurus2021-07-23-1/+0
| | |
| | * Undo change in import styleGravatar TizzySaurus2021-07-23-28/+33
| | |
| | * Fix shadowed nameGravatar TizzySaurus2021-07-23-2/+2
| | |
| | * Remove blankline that flake8 didn't likeGravatar TizzySaurus2021-07-23-1/+0
| | |
| | * Add return type-hint and docstringGravatar TizzySaurus2021-07-23-1/+2
| | |
| | * Remove trailing whitespaceGravatar TizzySaurus2021-07-23-2/+2
| | |
| | * Add missing commaGravatar TizzySaurus2021-07-23-1/+1
| | |
| | * Add missing functools.partial importGravatar TizzySaurus2021-07-23-0/+1
| | |
| | * Revamped importsGravatar TizzySaurus2021-07-23-23/+30
| | |
| | * Remove duplicate asyncio importGravatar TizzySaurus2021-07-23-1/+0
| | |
| | * Prevent ghost-pings in docs get commandGravatar TizzySaurus2021-07-23-5/+25
| |/ | | | | Won't delete the invoking message when the giving symbol is invalid if the message contains user/role mentions. If it has mentions, allows deletions of error message through reactions.
* | Improve code consistency of join_role_stats and NonExistentRoleErrorGravatar D0rs4n2021-08-02-2/+2
| |
* | Optimize Information Cog's join_role_stats and get_member countsGravatar D0rs4n2021-08-02-13/+10
| |
* | Update join_role_stats and NonExistentError to be clearGravatar D0rs4n2021-08-01-7/+9
| |
* | Update join_role_stats, add new custom errorGravatar D0rs4n2021-07-30-11/+25
| | | | | | | | | | - Add new custom error to handle non-existent roles in the Information cog - Update join_role_stats to use built in generics for typing