aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* 🚨 Linting fixesGravatar GDWR2022-02-03-3/+8
|
* πŸ‘Œ Remove the need to pass in channel via argumentsGravatar GDWR2022-02-03-15/+13
|
* ♻️Move notifications into `_message.py` with predicateGravatar GDWR2022-02-03-30/+55
|
* πŸ’‘ Comment usage of arbitrarily old dateGravatar GDWR2022-02-03-0/+1
|
* πŸ‘Œ Remove redundant parenthesisGravatar GDWR2022-02-03-1/+1
|
* 🚨 Linting fixesGravatar GDWR2022-02-01-4/+8
|
* ✨ Notify running low on channelsGravatar GDWR2022-02-01-30/+29
|
* πŸ’‘ Update docstringsGravatar GDWR2022-01-31-1/+16
|
* πŸ“ Update `notify_none_remaining` docstringGravatar GDWR2022-01-31-5/+4
|
* ♻️Rename `notify` -> `notify_none_remaining`Gravatar GDWR2022-01-31-2/+2
|
* πŸ”§ Add `notify_running_low` config valuesGravatar GDWR2022-01-31-3/+3
|
* πŸ”§ Add `notify_running_low` config valuesGravatar GDWR2022-01-31-2/+4
|
* πŸ”§ Add `notify_running_low` config valuesGravatar GDWR2022-01-31-10/+7
|
* ✏️`LATEST_MESSSAGE` -> `LATEST_MESSAGE`Gravatar GDWR2022-01-31-2/+2
|
* Merge pull request #2064 from python-discord/fix-voice-gateGravatar Johannes Christ2022-01-27-2/+2
|\ | | | | Use `voice_gate_blocked` field from API for voice_gate
| * Use `voice_gate_blocked` field from API for voice_gateGravatar Chris Lovering2022-01-27-2/+2
|/ | | | This new field is true when the user has any voice exception, which means the user is blocked from receiving the role.
* Add embed message mentioning help channel claimantGravatar minalike2022-01-27-2/+10
| | | | Update docstring
* Merge pull request #2052 from python-discord/voicemuteGravatar ChrisJL2022-01-27-75/+104
|\
| * Merge branch 'main' into voicemuteGravatar ChrisJL2022-01-27-3/+12
| |\ | |/ |/|
* | Add missing restart-policy to metricity containerGravatar Chris Lovering2022-01-26-0/+1
| |
* | setuptools use stdlib distutils over embeddedGravatar Chris Lovering2022-01-26-0/+4
| | | | | | | | | | | | This is caused by an upstream issue with setuptools 60.* (via virtualenv) changeing the default to using the setuptools-embedded distutils rather than the stdlib distutils, which breaks within pip's isolated builds. This is explained quite well here https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
* | Add missing arguments to `notify_infraction` callGravatar Izan2022-01-25-2/+6
| | | | | | | | Fixes an issue caused by #1951.
* | Merge pull request #2059 from novialriptide/novial-simple-renameGravatar Hassan Abouelela2022-01-26-1/+1
|\ \
| * | Rename `contributing guidelines` to `contribution guide`Gravatar Andrew Hong2022-01-25-1/+1
|/ /
| * Add voice_ban stub commandsGravatar Chris Lovering2022-01-25-0/+29
| | | | | | | | These stub commands are useful for moderators during the change over from voice_ban to voice_mute, to remind moderators that the command has been changed now.
| * Refactor voice_ban function definitions to voice_muteGravatar Chris Lovering2022-01-25-60/+60
| | | | | | | | | | | | This changes all functions that reference voice_ban to voice_mute instead, which comes with breaking front-end changes. These front end changes are desirable, so that moderators get used to use voice_mute now, rather than voice_ban, in preparation for when we roll out real voice_bans.
| * Rename voice_ban type to voice_muteGravatar Chris Lovering2022-01-25-17/+17
|/ | | | | | This commit changes all of the back-end so that it is in line with the new site API (see this PR https://github.com/python-discord/site/pull/608). This comes with no changes to commands, or functions definitions.
* Remove dev-contrib and bot-commands from features listGravatar Joe Banks2022-01-24-2/+0
|
* Merge pull request #1721 from python-discord/enhance/backend/time-util-refactorGravatar Hassan Abouelela2022-01-22-207/+283
|\ | | | | Refactor time utilities
| * Merge branch 'main' into enhance/backend/time-util-refactorGravatar Hassan Abouelela2022-01-22-119/+90
| |\ | |/ |/|
* | Merge pull request #2043 from python-discord/add-bot-coreGravatar wookie1842022-01-17-111/+88
|\ \ | | | | | | Add bot-core as a dependency
| * \ Merge branch 'main' into add-bot-coreGravatar wookie1842022-01-17-8/+2
| |\ \ | |/ / |/| |
* | | Merge pull request #2050 from Nipa-Code/fix-hyperlinkGravatar Hassan Abouelela2022-01-17-1/+1
|\ \ \ | | | | | | | | Fix pastebin hyperlink to use correct markdown syntax
| * | | Fix pastebin hyperlink to use correct markdown syntaxGravatar Nipa-Code2022-01-17-1/+1
|/ / / | | | | | | | | | | | | Fix format from `[link](text)` to `[text](link)` so that the link will be formatted as it should be.
* | | Shorten the `TXT_EMBED_DESCRIPTION` message (#2048)Gravatar Steele Farnsworth2022-01-16-8/+2
| | |
| * | Use codeblock regex from bot-core in snekbox cogGravatar Chris Lovering2022-01-09-15/+1
| | |
| * | Move single-use message ID regex to inside file that uses itGravatar Chris Lovering2022-01-09-4/+2
| | | | | | | | | | | | This moves the regex closer to the place actually using the regex, and removes the need for a regex.py file entirely.
| * | use regex from bot-core for discord invitesGravatar Chris Lovering2022-01-09-16/+4
| | |
| * | Add bot-core as a dependancyGravatar Chris Lovering2022-01-09-76/+81
|/ /
| * Time: revise docstringsGravatar MarkKoz2022-01-09-7/+9
| |
| * Scheduling: add Arrow to schedule_at's type annotationsGravatar MarkKoz2022-01-09-1/+3
| |
| * Converters: use datetime.timezone instead of dateutil.tzGravatar MarkKoz2022-01-09-3/+2
| | | | | | | | They're equivalent for UTC. Get rid of the extra import.
| * TalentPool: fix typo in error messageGravatar MarkKoz2021-09-21-2/+2
| |
| * Time: fix format_with_duration's 2nd arg's defaultGravatar MarkKoz2021-09-21-0/+3
| | | | | | | | It wasn't passing the current time when `other_timestamp` was None.
| * Time: put region comments around overloadsGravatar MarkKoz2021-08-23-0/+2
| |
| * Time: check timestamp for None only rather than if it's falsyGravatar MarkKoz2021-08-07-4/+4
| | | | | | | | | | Integers and floats which are 0 are considered valid timestamps, but are falsy.
| * Time: return strings from until_expiration instead of ambiguous NoneGravatar MarkKoz2021-08-07-10/+9
| | | | | | | | | | None was returned for two separate cases: permanent infractions and expired infractions. This resulted in an ambiguity.
| * Fix create_user_embed testsGravatar MarkKoz2021-08-07-0/+9
| | | | | | | | | | | | | | Mock User.created_at and User.joined_at because `arrow.get()` doesn't work with Mock objects. The old implementation of `time.discord_timestamp` accepted mocks because it just did `int()` on any type it didn't explicitly check for.
| * Time: use typing.Literal for precision param of humanize_deltaGravatar MarkKoz2021-08-06-5/+6
| |
| * Time: add overload to pass relativedelta kwargs to humanize_deltaGravatar MarkKoz2021-08-06-4/+32
| |