Miolus
36b9bc8ee3
Add interaction.data to docs
4 years ago
Rapptz
66871f329e
Interaction.channel can be a PartialMessageable rather than Object
This allows it to work just fine in DMs
4 years ago
Rapptz
ecf239d2a2
Fix user cache acting incorrectly with evictions
The first issue involved copied users which would lead to user updates
causing faster evictions of the cache than was expected.
The second issue involved users that weren't bound to an internal
lifetime eviction policy. These users would not get evicted.
For example, a user without mutual guilds or being part of the internal
cache in general (messages, DMs) would never end up being evicted for
some strange reason. To handle this case, store_user would get a
counterpart named create_user which would create a user without
potentially storing them in the cache. That way only users with a
bound lifetime within the library would be stored.
4 years ago
Rapptz
c748e4bce5
Mention ephemeral messages can only be edited with raw method
4 years ago
Alex Nørgaard
6a553b2347
Fix building docs due to missing InteractionMessage in __all__
4 years ago
Rapptz
0b577fa209
Add support for fetching the original interaction response message
4 years ago
Rapptz
bba4d6c4e4
Fix typo with exception name in InteractionResponse
4 years ago
Rapptz
8760b01e76
Add Interaction.permissions to get resolved permissions
4 years ago
Rapptz
12e90f9c6d
Type hint instance variables in interactions
4 years ago
Rapptz
7ca90874b9
Raise an exception if an interaction has been responded before
Fix #7153
4 years ago
jack1142
1059c02df7
Update examples of interactions to mention components
4 years ago
Nadir Chowdhury
2d597e310b
Fix Interaction.channel being None in threads
4 years ago
Devon R
ee26b58c6c
None check in InteractionResponse.edit_message
4 years ago
Rapptz
d0097c4281
Remove view syncing before editing in views
This prevents a potential race condition when a MESSAGE_UPDATE is
received syncing and refreshing the view components causing a desync.
4 years ago
Rapptz
4a3491cc0a
Check for view finished state before resuming listening on edit
4 years ago
Rapptz
61a189c217
Sync views in InteractionResponse.edit_message
4 years ago
Rapptz
7b1c57ed60
Add support for interaction followups
4 years ago
Rapptz
c6f3ed1af4
Allow sending View with Interaction.response.send_message
This also allows for ephemeral views and listening to said views
4 years ago
Rapptz
fc64ffdabd
Allow passing multiple embeds in InteractionResponse.edit_message
4 years ago
Rapptz
3b83f60b35
Add support for setting interaction responses
4 years ago
Rapptz
d42c63e186
Fix some type hints in interactions
4 years ago
AXVin
2ad2cab50c
[Interactions] Create User only when in DMs
4 years ago
Rapptz
cc800796a2
Properly guard for DMs in interaction creation
Fix #6794
4 years ago
Rapptz
98570793e4
Add initial support for buttons and components
4 years ago
Rapptz
a31c19563f
Add interaction related typings
4 years ago
Rapptz
8cece19b22
Add on_interaction event and Interaction class.
This is the first pass at the functionality. It's currently a bit
incomplete.
4 years ago