aboutsummaryrefslogtreecommitdiff
path: root/discord/interactions.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove in-place edits and return fresh instances insteadRapptz2021-08-231-6/+19
| | | | Fixes #4098
* Add interaction.data to docsMiolus2021-08-181-0/+2
|
* Interaction.channel can be a PartialMessageable rather than ObjectRapptz2021-08-101-8/+17
| | | | This allows it to work just fine in DMs
* Fix user cache acting incorrectly with evictionsRapptz2021-07-291-0/+3
| | | | | | | | | | | | | | 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.
* Mention ephemeral messages can only be edited with raw methodRapptz2021-07-031-0/+3
|
* Fix building docs due to missing InteractionMessage in __all__Alex Nørgaard2021-07-031-0/+1
|
* Add support for fetching the original interaction response messageRapptz2021-07-031-6/+280
|
* Fix typo with exception name in InteractionResponseRapptz2021-07-031-4/+4
|
* Add Interaction.permissions to get resolved permissionsRapptz2021-07-031-1/+15
|
* Type hint instance variables in interactionsRapptz2021-07-031-13/+15
|
* Raise an exception if an interaction has been responded beforeRapptz2021-07-031-4/+20
| | | | Fix #7153
* Update examples of interactions to mention componentsjack11422021-07-021-2/+1
|
* Fix Interaction.channel being None in threadsNadir Chowdhury2021-07-011-4/+7
|
* None check in InteractionResponse.edit_messageDevon R2021-06-101-1/+1
|
* Remove view syncing before editing in viewsRapptz2021-05-311-3/+5
| | | | | This prevents a potential race condition when a MESSAGE_UPDATE is received syncing and refreshing the view components causing a desync.
* Check for view finished state before resuming listening on editRapptz2021-05-311-1/+1
|
* Sync views in InteractionResponse.edit_messageRapptz2021-05-311-0/+6
|
* Add support for interaction followupsRapptz2021-05-301-1/+12
|
* Allow sending View with Interaction.response.send_messageRapptz2021-05-301-0/+15
| | | | This also allows for ephemeral views and listening to said views
* Allow passing multiple embeds in InteractionResponse.edit_messageRapptz2021-05-271-3/+15
|
* Add support for setting interaction responsesRapptz2021-05-271-5/+244
|
* Fix some type hints in interactionsRapptz2021-05-271-2/+3
|
* [Interactions] Create User only when in DMsAXVin2021-05-271-5/+7
|
* Properly guard for DMs in interaction creationRapptz2021-05-271-5/+6
| | | | Fix #6794
* Add initial support for buttons and componentsRapptz2021-05-271-1/+27
|
* Add interaction related typingsRapptz2021-04-081-5/+14
|
* Add on_interaction event and Interaction class.Rapptz2021-04-061-0/+104
This is the first pass at the functionality. It's currently a bit incomplete.