Commit 758d80c
chore: V5.1.0 (#1341)
* feat: support regex component callbacks (#1332)
* feat: support regex component callbacks
* docs: document regex matching component callback
* ci: correct from checks.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* chore: switch to MIT license (#1334)
* chore: switch to MIT license
* ci: correct from checks.
* docs: update license through github
Uses githubs own license tools so the correct license is detected
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* feat: add audit events (#1335)
* feat: add audit new mod events to audit log enum
* feat: add onboarding related events
see discord/discord-api-docs#6041
* refactor: change log level of missing value to warning (#1339)
Lets not scare people with "error"s ay?
* feat: add missing message types (#1338)
* feat: add missing message types
* feat: add deletable message types helper
* build: correct manifest
* feat: support avatar decorations (#1329)
* build: mirrored publish to d.py-interactions and interactions.py (#1336)
* style: add newline to end of manifest
* ci: fix migration issues in integration test bot
* fix: copy checks when inheriting (#1342)
Co-authored-by: Astrea49 <[email protected]>
* feat: cooldown upgrades (#1323)
* docs: add changelog page
* style: add EOF newline
* docs: add 5.1.0 to changelog.md
* style: remove trailing whitespace
* fix: reintroduce imports at namespace linter removed
* feat: sync improvements (#1328)
* refactor: improve readability of sync logic
* fix: improve initial sync caching
* docs: add docstring to update_command_cache
* feat: add command deletion to debug ext
* feat: rate limit improvements (#1321)
* fix: refactor all http routes to generate buckets properly
* fix: resolve routes regex missed
* feat: allow concurrent api calls from the same bucket
* feat: restore bucketLock.locked property
* feat: further bucketlock improvements
* feat: allow bucketlock blocking to be toggled
* refactor: resolve ruff compliant
* fix: correct webhook http
* fix: wrong check condition in the component callback (#1352)
* fix: error when dispatch component callback (#1351)
* docs: adjust and fix many parts of the docs (#1353)
* docs: adjust and fix many parts of the docs
* docs: add note about event object for v4 migration
* docs: replace more instances of InteractionContext
---------
Co-authored-by: Astrea49 <[email protected]>
* feat: caching improvements (#1350)
* feat: add support for force fetching
* feat: track if a user object has been fetched
* feat: add force flag to client helper methods
* feat: update all cache fetch methods to have a force param
* feat: add reset_with_key and get_cooldown_time_with_key (#1345)
* made get_cooldown_with_key async for consistency, added reset_with_key and get_cooldown_time_with_key
* ci: correct from checks.
* fixed pre-commit problems
* comment on #1345, resolved
* made Cooldown.reset_all async #1345
* bot.load => bot.load_extension
* reverted 8217f4e
* made get_cooldown_time_with_key and reset_with_key sync
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Astrea <[email protected]>
Co-authored-by: Astrea49 <[email protected]>
Co-authored-by: Damego <[email protected]>
Co-authored-by: chronosirius <[email protected]>File tree
56 files changed
+1606
-1237
lines changed- .github/workflows
- docs/src
- API Reference/API Reference/models/Internal
- Guides
- interactions
- api/http
- http_requests
- client
- ext/debug_extension
- models
- discord
- internal
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
56 files changed
+1606
-1237
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
2 | 12 | | |
3 | | - | |
4 | | - | |
| 13 | + | |
5 | 14 | | |
| 15 | + | |
6 | 16 | | |
7 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
8 | 20 | | |
9 | 21 | | |
10 | 22 | | |
11 | | - | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
15 | | - | |
16 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
17 | 31 | | |
18 | | - | |
19 | | - | |
| 32 | + | |
20 | 33 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
Large diffs are not rendered by default.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments