DA-344
49125e8406
chore: update ViewStore.dispatch_view
Since a time ago, the /interactions/{token}/callback route got a return type (finally), and this code updates the whole interaction_id dependency the current system had to always use the
resource id (in case it is a message) Discord provides.
discord.py always defaults to receiving a response on interaction callbacks, so it should not fail anymore.
Maybe needs some fixing, the testing I've done seems to be working fine, so I guess I'll leave it like that currently
2 months ago
DA-344
78ed233f07
shuold
2 months ago
DA-344
d124702290
itertools.groupby bye
2 months ago
DA-344
5bde2f0d29
chore: rename Section.get_item_by_id to Section.get_item
2 months ago
DA-344
12abc1a83a
chore: fix DynamicItem errors
2 months ago
DA-344
ff55d37166
changes to every item, mostly on repr
2 months ago
DA-344
d4e738abb2
qol things and changes
2 months ago
DA-344
3dfc609a0d
fix: SpacingSpace not being found on docs
2 months ago
DA-344
42bd21a700
chore(breaking): Rename SeparatorSize to SeparatorSpacing
2 months ago
DA-344
3bba5b4048
Merge branch 'feat/components-v2' of https://github.com/DA-344/d.py into feat/components-v2
2 months ago
DA-344
d65437b4da
chore: QoL changes on BaseView.from_message and BaseView.from_dict and ActionRow.to_component_dict()
2 months ago
DA344
f0c0e40ba9
fix: Colo(u)r being on TYPE_CHECKING block
2 months ago
DA344
0a8d9cbf02
chore: check types on Container.accent_colour setter
2 months ago
DA344
cf21c5bf80
chore: revert double quotes to single quotes
2 months ago
DA344
fe3b596379
fix: unexpected behaviour on accent_colours
Co-authored-by: Soheab <33902984+Soheab@users.noreply.github.com>
2 months ago
DA344
3d37331cba
chore:
Co-authored-by: Soheab <33902984+Soheab@users.noreply.github.com>
2 months ago
DA-344
03af02b4b5
chore: Run black and fix linting errors
2 months ago
DA344
c9e0f35453
fix: linting
2 months ago
DA-344
5489806a62
fix: row not being respected when being 0
2 months ago
DA-344
b4b7a7493a
yet more fixes
2 months ago
DA-344
22daf24830
fix: View.from_dict raising unexpected errors
2 months ago
DA-344
b221fd2fef
Merge branch 'feat/components-v2' of https://github.com/DA-344/d.py into feat/components-v2
2 months ago
DA-344
f63f9f6382
chore: Consistency on types
2 months ago
DA-344
e3294223b6
feat: Add (Layout)View.from_dict methods
2 months ago
DA344
8e03c3a740
fix: is_persistent in container.py
2 months ago
DA-344
6e302a37ac
fix: is_persistent returning wrong values
2 months ago
DA-344
1b676df69b
chore: Improve documentation on MediaGallery(Item) and ui.File
2 months ago
DA-344
acd17d8713
chore: Update LayoutView.to_components()
2 months ago
DA344
2f029c3976
fix: Container rows
2 months ago
DA344
4005399f93
chore: remove setting default row
2 months ago
DA344
98b6322832
if
2 months ago
DA344
eb2996d91e
Make Container._init_children more similar to BaseView._init_children
2 months ago
DA-344
091705c283
chore: remove _ViewWeights leftover code
2 months ago
DA-344
eb38195e80
fix: Container.__dispatchable not having new dispatchable nested items added after a dispatchable item was added in add_item
2 months ago
DA-344
a19055b308
__dispatchable having children that were removed from the Container
2 months ago
DA-344
736fbfcb7d
fix: typings on examples of dynamic
2 months ago
DA-344
1281a2e5fa
chore: black
2 months ago
DA-344
0b25cf7a99
chore: dynamic items
2 months ago
DA-344
8fc329d4bf
fix: missing applied_tags param on overloads
2 months ago
DA-344
8f39bf5731
fix: rows being set weirdly because of sorted
2 months ago
DA-344
176d0a4182
fix attr error things
2 months ago
DA-344
4103a97635
things
2 months ago
DA-344
4ca483efdb
chore: fix is_persistent and default to sys.maxsize instead of 0 on sorting key
2 months ago
DA-344
cf08c0e78f
chore: Remove ValueError on Container.add_item
2 months ago
DA-344
7b5f247502
chore: Add call to super().__init_subclass__()
2 months ago
DA-344
6122b32dae
fix: Sorting LayoutView children defaulting to 0 instead of sys.maxsize
2 months ago
DA-344
e29c10d186
fix: Webhook.send overloads missing ephemeral kwarg
2 months ago
DA-344
7012cec96a
fix: LayoutView.__total_children being incorrectly set when adding/removing items from an item
2 months ago
DA-344
03964172d3
rows
3 months ago
DA-344
27db09adcf
chore: overloads
3 months ago