DA344
c7372adf85
Update discord/interactions.py
Co-authored-by: Danny <[email protected] >
3 months ago
DA-344
1563a3e828
chore: run black
3 months ago
DA-344
5b08698784
chore: Remove unused imports
3 months ago
DA-344
a667e67b75
chore: Update based off discussion
- See [this message in the #bikeshedding channel on the discord.py Discord server](https://discord.com/channels/336642139381301249/1294389448863125505/1340297281676775485 ) for details on why.
3 months ago
DA-344
36cb749a57
chore: Remove channel= param
4 months ago
DA-344
3585be901c
chore: fix lint
4 months ago
DA-344
d00b606d5c
fix: docs and lint
4 months ago
DA-344
f113e50d7c
chore: revert this change
4 months ago
DA-344
115a817a23
chore: Update thins thongs
4 months ago
owocado
7db391189d
Add __repr__ to Interaction
4 months ago
DA-344
b2128ac15b
Rename some attributes and remove Optional[bool]
7 months ago
DA-344
524ffd4d57
Update Interaciton._original_response on interaction callbacks and rename response_message_loading to response_message_thinking
7 months ago
DA-344
802adeddc9
Rephrase response_message note
7 months ago
DA-344
a16f63c946
Updated overloads and docstrings with the reviews
7 months ago
Developer Anonymous
8f8fc4e511
Added overloads and enhanced InteractionCallback docstring
7 months ago
Developer Anonymous
dd0a4ee6e7
Added repr to interaction callback
7 months ago
Developer Anonymous
d98bbda5b2
Black
7 months ago
Developer Anonymous
baa22521dd
__all__ & docs
7 months ago
Developer Anonymous
173f27cdfe
Added more InteractionCallback things
7 months ago
DA344
356474ffb9
Add ButtonStyle.premium
11 months ago
DA344
9d979d3df1
Some docs fixes for polls
12 months ago
DA344
e43bd8692c
Add support for Polls
Co-authored-by: owocado <[email protected] >
Co-authored-by: Josh <[email protected] >
Co-authored-by: Trevor Flahardy <[email protected] >
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 <[email protected] >
Co-authored-by: Vioshim <[email protected] >
1 year ago
Soheab_
f6182e5763
Add missing suppress_embeds kwarg to InteractionResponse.edit_message
1 year ago
Lucas Hardt
99618c823a
Add support for premium app integrations
Co-authored-by: Danny <[email protected] >
Co-authored-by: Lucas Hardt <[email protected] >
Co-authored-by: Andrin S. <[email protected] >
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 <[email protected] >
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
2 years ago
Rapptz
7e95f98521
Fix webhooks and interactions not closing files after a request
2 years ago
Rapptz
6cb9a84898
Fix views not being removed from message store backing
This uses the original interaction ID if available for cache eviction
2 years ago
Rapptz
bee7f903e3
Document Interaction.message availability
2 years ago
Rapptz
bbba8c650f
Add missing generic parameters on various Interaction parameters
2 years ago
Rapptz
bf860b0b07
Add support for generic ClientT in Interaction
2 years ago
Rapptz
50e66d4072
Add delete_after to Interaction.edit_message
Closes #9415
2 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 <[email protected] >
Co-authored-by: James Hilton-Balfe <[email protected] >
Co-authored-by: Bluesy <[email protected] >
Co-authored-by: Nadir Chowdhury <[email protected] >
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