Joosemi02
59546a4851
Add support for launch_activity interaction response
2 weeks ago
DA-344
67d67d3495
chore: Clarify note on message edit related methods
2 weeks ago
DA-344
06f4052e0f
chore: Add notes on LayoutView behaviour when editing messages
2 weeks ago
owocado
2bcbd49bc6
Add __repr__ method to various classes
3 weeks ago
Leonardo
ef06d7d9db
Add Interaction.filesize_limit
3 weeks ago
DA-344
3697a9b96c
chore: prevent storing non-interactable views and various fixes
1 month ago
DA-344
59321d356d
revert " fix on the previous commit\
1 month ago
DA-344
b8432722d8
Revert "chore: update ViewStore.dispatch_view"
This reverts commit 49125e8406
.
1 month ago
DA-344
8f03384a88
fix on the previous commit lol
1 month ago
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
1 month ago
DA-344
f5ec966a7b
chore: typings and docs and idk what more
3 months ago
DA-344
e0c07539a9
chore: Update interactions docs
3 months ago
DA-344
9e18c5af81
chore: typing stuff
4 months ago
DA344
0e4f06103e
Fix InteractionCallbackResponse.resource having incorrect state
Fix InteractionCallbackResponse.resource being created
with a ConnectionState instead of _InteractionMessageState
5 months ago
Rapptz
43e1c55d11
Remove with_response parameter documentation
5 months ago
Rapptz
8953938a53
Update Pyright to v1.1.394
5 months ago
Rapptz
1cdf710908
Rename InteractionCallback to InteractionCallbackResponse
5 months ago
DA344
5b78097cef
Add support for Interaction Callback Resource
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
5 months ago
owocado
7db391189d
Add __repr__ to Interaction
6 months ago
DA344
356474ffb9
Add ButtonStyle.premium
1 year ago
DA344
9d979d3df1
Some docs fixes for polls
1 year ago
DA344
e43bd8692c
Add support for Polls
Co-authored-by: owocado <24418520+owocado@users.noreply.github.com>
Co-authored-by: Josh <8677174+bijij@users.noreply.github.com>
Co-authored-by: Trevor Flahardy <75498301+trevorflahardy@users.noreply.github.com>
1 year ago
Rapptz
64e743af50
Use InteractionMetadata for InteractionResponse.edit_message
1 year ago
Danny
2e2f51fd5c
First pass at supporting user apps
Co-authored-by: red <red@kalab.sk>
Co-authored-by: Vioshim <63890837+Vioshim@users.noreply.github.com>
1 year ago
Soheab_
f6182e5763
Add missing suppress_embeds kwarg to InteractionResponse.edit_message
2 years ago
Lucas Hardt
99618c823a
Add support for premium app integrations
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
Co-authored-by: Lucas Hardt <lucas.hardt@fu-berlin.de>
Co-authored-by: Andrin S. <65789180+Puncher1@users.noreply.github.com>
2 years ago
Rapptz
2348d72a72
Use the interaction user's guild as a fallback for Interaction.guild
This ensures that the unavailable guild that is created within __init__
is used instead of constantly recreating it.
2 years ago
Rapptz
2fdbe59376
Fix Message.channel being None for interactions
2 years ago
Rapptz
49e31e9e23
Use cache data if available for Interaction.channel
The data from Discord does not contain all the attributes that the
cached data has. There may be a slight chance that the interaction data
is more up to date than the cached data or vice versa but more
information tends to trump over this slight chance.
2 years ago
Rapptz
f1bade4bda
Hoist webhook detection outside of store_user helper
2 years ago
Andrin S
53ce05b0d0
Add Interaction.channel from Discord payload
Co-authored-by: Danny <1695103+Rapptz@users.noreply.github.com>
2 years ago
Rapptz
bb7668f8a5
Upgrade Message.guild references if None in Interaction
2 years ago
z03h
e6ef43139f
Don't store finished views/modals
2 years ago
Rapptz
183675be74
Add support for silent messages
2 years ago
Soheab_
ee07f72906
Add delete_after kwarg to InteractionMessage.edit
3 years ago
Rapptz
7e95f98521
Fix webhooks and interactions not closing files after a request
3 years ago
Rapptz
6cb9a84898
Fix views not being removed from message store backing
This uses the original interaction ID if available for cache eviction
3 years ago
Rapptz
bee7f903e3
Document Interaction.message availability
3 years ago
Rapptz
bbba8c650f
Add missing generic parameters on various Interaction parameters
3 years ago
Rapptz
bf860b0b07
Add support for generic ClientT in Interaction
3 years ago
Rapptz
50e66d4072
Add delete_after to Interaction.edit_message
Closes #9415
3 years ago
Steve C
4c8ba635db
Add delete_after into InteractionResponse.send_message
3 years ago
Soheab
c83134ab65
Add Interaction.translate method
Co-authored-by: I. Ahmad <54180221+nerdguyahmad@users.noreply.github.com>
Co-authored-by: James Hilton-Balfe <gobot1234yt@gmail.com>
Co-authored-by: Bluesy <68259537+Bluesy1@users.noreply.github.com>
Co-authored-by: Nadir Chowdhury <chowdhurynadir0@outlook.com>
3 years ago
Rapptz
bd19ad05e7
Fix app_command_completion triggering on certain errors
3 years ago
Rapptz
49e6fe9a0c
Fix autocomplete translations calling unnecessary locales
3 years ago
Rapptz
9ce1541775
Rename Interaction.original_message to original_response
3 years ago
Rapptz
2d586ae805
Add initial support for app command localisation
3 years ago
Mikey
c4e09acff8
Add InteractionResponse.type property
3 years ago
Rapptz
b3a24846bd
Add Interaction.app_permissions
Fix #8193
3 years ago
Rapptz
7ad00750c6
Add note about different client subclasses
3 years ago