aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add concurrency rules to all GitHub workflowsGravatar Chris Lovering2021-08-30-0/+19
| | | | | | | | | | This concurrency rule means that workflow actions will be cancelled if a new set of actions are triggered on the same ref. A ref is either a PR or a branch itself. Doing this means that if someone pushes to a PR multiple times in quick succession, workflows won't get queued up. Instead, only the workflows from the most recent changes will run, as this is all we really care about anyway. I see the benefits of this as twofold. 1. The author gets faster feedback about the most recent change pushed, rather than have to wait for all previous runs to completed 2. Other contributors don't need to wait for a queue of redundant workflows to finish.
* Remove the json argument from the raw command. (#1792)Gravatar Qwerty-1332021-08-30-6/+14
|
* Merge pull request #1790 from python-discord/restrictive-infra-commandsGravatar ChrisJL2021-08-30-29/+60
|\ | | | | Prevent the usage of names and nicknames when issuing infractions.
| * Add more clarity to docstringsGravatar Qwerty-1332021-08-29-5/+5
| | | | | | | | | | Clarify what Discord usernames are and the usage of the word "ambiguity".
| * Make the helper function more readableGravatar Qwerty-1332021-08-29-8/+4
| |
| * Use unambiguous converters for infraction commandsGravatar Qwerty-1332021-08-29-15/+16
| |
| * Fix mismatches in parameter names and docstringsGravatar Qwerty-1332021-08-29-2/+2
| |
| * Add the UnambiguousMember converterGravatar Qwerty-1332021-08-29-3/+23
| |
| * Replace UserMentionOrID with UnambiguousUserGravatar Qwerty-1332021-08-29-12/+26
|/
* Added bot variables tag (#1784)Gravatar Hunter28072021-08-27-0/+23
| | | | | * Added a new tag with the name bot_var Co-authored-by: Bluenix <[email protected]>
* Merge pull request #1778 from python-discord/update-remind-helpGravatar Xithrius2021-08-26-4/+48
|\ | | | | Add time units and example to docstring of `!remind` commands
| * Merge branch 'main' into update-remind-helpGravatar Xithrius2021-08-26-2/+9
| |\ | |/ |/|
* | Merge pull request #1785 from python-discord/Output-public-url-when-sharingGravatar Matteo Bertucci2021-08-26-1/+3
|\ \ | | | | | | Use publicly available URL when outputting metabase share URL
| * | Use publically available URL when outputting metabase share URLGravatar Chris Lovering2021-08-26-1/+3
|/ / | | | | | | | | | | In production we use the internal URL to call the metabase API, to avoid egress but we still want to output the public url when giving the sharing link. Making it a constant like this makes it easier to change/overwrite in future if needed.
* | Merge pull request #1783 from python-discord/user-message-link-supportGravatar Matteo Bertucci2021-08-26-1/+6
|\ \ | | | | | | Add message link support to `!user`
| * | Add message link support to `!user` commandGravatar Izan2021-08-26-1/+6
|/ /
| * Add time units to the `!remind edit` and `!remind edit duration` help messagesGravatar Izan2021-08-25-2/+24
| |
| * Add time units and example to docstring of `!remind` and `!remind new`Gravatar Izan2021-08-25-2/+24
|/ | | | Supported time units and an example invocation are now displayed in the help message for `!remind` and `!remind new`
* Merge pull request #1777 from python-discord/mbaruh-patch-1Gravatar ChrisJL2021-08-25-2/+2
|\ | | | | Fix antispam looking at wrong messages
| * Fix antispam looking at wrong messagesGravatar Boris Muratov2021-08-24-2/+2
|/
* Merge pull request #1731 from Numerlor/converter-typehintsGravatar ChrisJL2021-08-24-128/+96
|\ | | | | Add converter typehints
| * Merge branch 'main' into converter-typehintsGravatar ChrisJL2021-08-24-37/+75
| |\ | |/ |/|
* | Merge pull request #1776 from python-discord/community-partners-accessGravatar Matteo Bertucci2021-08-24-26/+36
|\ \ | | | | | | Give partners and community members more access
| * | Fix testsGravatar Izan2021-08-24-2/+2
| | |
| * | Fix lintingGravatar Izan2021-08-24-1/+1
| | |
| * | Merge remote-tracking branch 'origin/community-partners-access' into ↵Gravatar Izan2021-08-24-108/+610
| |\ \ | | | | | | | | | | | | community-partners-access
| | * \ Merge branch 'main' into community-partners-accessGravatar TizzySaurus2021-08-24-108/+610
| | |\ \ | |_|/ / |/| | |
* | | | Merge pull request #1700 from python-discord/enhance/1683/restrict-int-evalGravatar Matteo Bertucci2021-08-24-3/+9
|\ \ \ \ | | | | | | | | | | Restrict internal eval command to bot owner when in debug mode
| * \ \ \ Merge branch 'main' into enhance/1683/restrict-int-evalGravatar Matteo Bertucci2021-08-24-774/+1609
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #1775 from python-discord/TizzySaurus-patch-1Gravatar Matteo Bertucci2021-08-24-3/+3
|\ \ \ \ \ | | | | | | | | | | | | Update nomination messages to display user mention
| * | | | | Update nomination messages to display user mentionGravatar TizzySaurus2021-08-24-3/+3
|/ / / / /
* | | | | Merge pull request #1770 from python-discord/antispam-ignore-bot-mentionsGravatar Boris Muratov2021-08-23-5/+27
|\ \ \ \ \ | | | | | | | | | | | | Ignore bot mentions in antispam mentions rule
| * \ \ \ \ Merge branch 'main' into antispam-ignore-bot-mentionsGravatar Boris Muratov2021-08-23-93/+566
| |\ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Added some more test cases to ensure bot mentions aren't countedGravatar wookie1842021-08-23-1/+17
| | | | | |
| * | | | | Fix current tests by using MockMember in mention listsGravatar wookie1842021-08-23-3/+5
| | | | | |
| * | | | | Ignore bot mentions in antispam mentions ruleGravatar wookie1842021-08-23-1/+5
| | | | | |
| | * | | | Enable debug mode by defaultGravatar MarkKoz2021-08-23-2/+2
| | | | | |
| | * | | | Restrict internal eval to bot owner when in debug modeGravatar MarkKoz2021-07-27-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's a security risk to let anyone in a test server have essentially full access to the host machine. Resolve #1683
| | * | | | Specify DEBUG_MODE via the config fileGravatar MarkKoz2021-07-27-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `SITE_URL` environment variable hasn't been used by anything else for a long time. It wouldn't have been reliable to look for "local" anyway since the Docker hostname may be used.
| | | * | | Fix lintingGravatar Izan2021-08-24-5/+7
| | | |/ /
| | | * | Allow partners & members of the python community to have mentions in `!remind`Gravatar Izan2021-08-24-2/+2
| | | | |
| | | * | Ignore partners & members of the python community as well as staff from ↵Gravatar Izan2021-08-24-5/+7
| | | | | | | | | | | | | | | | | | | | `!liststream`
| | | * | Minor linting fixesGravatar Izan2021-08-24-4/+9
| | | | |
| | | * | Allow partners & members of the python community to bypass cooldown and use ↵Gravatar Izan2021-08-24-2/+2
| | | | | | | | | | | | | | | | | | | | `!raw` in any channel
| | | * | Allow partners & members of the python community to use `!role` and `!roles`Gravatar Izan2021-08-24-2/+2
| | | | |
| | | * | Allow partners & members of the python community to use commands in any channelGravatar Izan2021-08-24-11/+11
| | | | | | | | | | | | | | | | | | | | Allow partners & members of the python community to use `!remind`, `!help` `!user`, `!snowflake`, `!ping`, `!charinfo` in any channel
| | | * | Add constants.STAFF_PARTNERS_COMMUNITY_ROLESGravatar Izan2021-08-24-0/+1
| | | | |
| | | | * Remove TagContentConverterGravatar Numerlor2021-08-23-58/+0
| | | | |
| | | | * Prevent import cycle when importing EXTENSIONSGravatar Numerlor2021-08-23-2/+4
| | | | |
| | | | * Merge remote-tracking branch 'upstream/main' into converter-typehintsGravatar Numerlor2021-08-23-656/+1297
| | | | |\ | |_|_|_|/ |/| | | | | | | | | | | | | | # Conflicts: # bot/converters.py