aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | | | | | * | | | | | | | | | | Direct users to the appeals server when bannedGravatar Chris Lovering2021-09-24-10/+10
| | | | | | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new appeals process we are trialing. Users who get banned join this server and DM a modmail bot, who relays the message to the main server for mods to discuss. I have updated the shortening logic to allow for extra information to be included at the end of the embed, while still staying under the limit.
| | | | | | | | | | | | | | * | Fix bugs when scheduling from cacheGravatar Shivansh-0072021-07-12-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Dict was missing .items() method, causing TypeError. 2. Timestamp wasn't converted to float before passing to dt.fromtimestamp(), was stored as a joined string with work_time.
| | | | | | | | | | | | | | * | (modpings): Make flake8 happy!Gravatar Shivansh-0072021-06-13-2/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | (modpings): Add a day to datetime if already passedGravatar Shivansh-0072021-06-13-1/+9
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | (modpings): Add subcommand to delete your modpings scheduleGravatar Shivansh-0072021-06-13-1/+13
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | (modpings): 16 hours is the maximum schedule limitGravatar Shivansh-0072021-06-13-7/+7
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | (modpings): Use scheduling.create_task wrapperGravatar Shivansh-0072021-06-13-9/+9
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | (modpings): Use 24 hour formatGravatar Shivansh-0072021-06-13-1/+1
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | Merge branch 'main' into modpings-scheduleGravatar Shivansh-0072021-06-13-20/+121
| | | | | | | | | | | | | | |\ \
| | | | | | | | | | | | | | * | | (modpings): Cancel scheduler and tasks on cog unloadGravatar Shivansh-0072021-06-11-0/+3
| | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | Merge branch 'main' into modpings-scheduleGravatar Shivansh-0072021-06-11-3/+3
| | | | | | | | | | | | | | |\ \ \
| | | | | | | | | | | | | | * | | | (modpings): Make flake8 happy!Gravatar Shivansh-0072021-06-11-3/+8
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | | (modpings): Use separate scheduler for modpings scheduleGravatar Shivansh-0072021-06-11-7/+8
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | | (modpings): Cancel the task before scheduling it againGravatar Shivansh-0072021-06-11-0/+3
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | * | | | Add modpings schedule featureGravatar Shivansh-0072021-06-10-1/+81
| | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | * Merge remote-tracking branch 'upstream/main' into tag-groupsGravatar Numerlor2021-11-09-850/+1274
| | | | | | | | | | | | | | | | | |\ | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/converters.py # bot/exts/info/tags.py # tests/bot/test_converters.py
* | | | | | | | | | | | | | | | | | Merge pull request #1872 from python-discord/experiments/isortGravatar ChrisJL2021-10-16-333/+429
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | Experiment: add Isort to our toolchain
| * | | | | | | | | | | | | | | | | Isort: set atomic to trueGravatar Matteo Bertucci2021-10-15-0/+1
| | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | Merge remote-tracking branch 'origin/main' into experiments/isortGravatar Matteo Bertucci2021-10-15-235/+277
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #1874 from python-discord/fix-bot-1869Gravatar Matteo Bertucci2021-10-15-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix community/staff members not being able to mention users in `!remind`
| * | | | | | | | | | | | | | | | | | Update `isinstance` checkGravatar TizzySaurus2021-10-14-1/+1
|/ / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | Merge pull request #1831 from python-discord/custom-logger-classGravatar ChrisJL2021-10-14-224/+228
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add `CustomLogger` to prevent IDE lint warnings when calling `log.trace`.
| * | | | | | | | | | | | | | | | | | Fix newlines after imports and address reviewGravatar Izan2021-10-14-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's now always one blank line (no more, no less) after an import
| * | | | | | | | | | | | | | | | | | Migrate to `bot.log.get_logger` functionGravatar Izan2021-10-14-206/+199
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Add `CustomLogger` to bot/log.pyGravatar Izan2021-10-14-18/+33
|/ / / / / / / / / / / / / / / / / /
* | | | | | | | | | | | | | | | | | Add a contribute tag which explains how to contribute to PyDis projectsGravatar Janine vN2021-10-14-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add contribute tag * Adjust wording Adjusts the wording in the tag from feedback Co-authored-by: TizzySaurus <[email protected]> Co-authored-by: ChrisJL <[email protected]>
* | | | | | | | | | | | | | | | | | Send `!defcon threshold` message in `channel` as well as #defcon. (#1856)Gravatar TizzySaurus2021-10-14-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Xithrius <[email protected]>
* | | | | | | | | | | | | | | | | | Merge pull request #1860 from python-discord/fix-infract-then-dmGravatar ChrisJL2021-10-14-2/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attempt infraction before DMing
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into fix-infract-then-dmGravatar ChrisJL2021-10-14-7/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Send the user's mention in the `watch` command. (#1867)Gravatar Qwerty-1332021-10-14-4/+4
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #1861 from python-discord/solve-bot-1852Gravatar ChrisJL2021-10-14-3/+4
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | Distinguish between note/warning and expired infraction
| * | | | | | | | | | | | | | | | | | 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
| | | * | | | | | | | | | | | | | | | Actions: do not check licenses of dev packagesGravatar Matteo Bertucci2021-10-15-2/+4
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | ISort: give the codebase a sortGravatar Matteo Bertucci2021-10-14-59/+20
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | Remove flake8-import-orderGravatar Matteo Bertucci2021-10-14-71/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replaced by flake8-isort now that we use ISort
| | | * | | | | | | | | | | | | | | | Precommit: add ISortGravatar Matteo Bertucci2021-10-14-0/+5
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | Add ISort to this projectGravatar Matteo Bertucci2021-10-14-220/+353
| |_|/ / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | 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
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #1865 from python-discord/fix-bot-1858Gravatar ChrisJL2021-10-10-1/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | Handle 400 when setting pre-existing doc package
| * | | | | | | | | | | | | | | | | Fix typo in bot/exts/info/doc/_cog.py Gravatar Richard Si2021-10-10-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it only took 5 people looking through the diff ... Co-authored-by: Bluenix <[email protected]>
| * | | | | | | | | | | | | | | | | Handle 400 when setting pre-existing doc packageGravatar Richard Si2021-10-10-1/+9
|/ / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you run, for example: !doc setdoc black https://black.readthedocs/en/stable/objects.inv twice over. You'll get an unhelpful "According to the API, your request is malformed." error message back. This commit adds an error handler to catch the HTTP 400 and tell the user the package already exists.
* | | | | | | | | | | | | | | | | Merge pull request #1630 from python-discord/kill-subdomainsGravatar Joe Banks2021-10-06-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'main' into kill-subdomainsGravatar Joe Banks2021-10-06-0/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | |