66 Commits

Author SHA1 Message Date
jack1142
1059c02df7
Update examples of interactions to mention components 2021-07-02 21:58:06 -04:00
Nadir Chowdhury
2d597e310b
Fix Interaction.channel being None in threads 2021-07-01 07:49:44 -04:00
Devon R
ee26b58c6c
None check in InteractionResponse.edit_message 2021-06-10 07:28:26 -04:00
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.
2021-05-31 05:50:40 -04:00
Rapptz
4a3491cc0a Check for view finished state before resuming listening on edit 2021-05-31 00:18:06 -04:00
Rapptz
61a189c217 Sync views in InteractionResponse.edit_message 2021-05-31 00:09:15 -04:00
Rapptz
7b1c57ed60 Add support for interaction followups 2021-05-30 11:25:15 -04:00
Rapptz
c6f3ed1af4 Allow sending View with Interaction.response.send_message
This also allows for ephemeral views and listening to said views
2021-05-30 06:10:58 -04:00
Rapptz
fc64ffdabd Allow passing multiple embeds in InteractionResponse.edit_message 2021-05-27 21:07:28 -04:00
Rapptz
3b83f60b35 Add support for setting interaction responses 2021-05-27 00:53:14 -04:00
Rapptz
d42c63e186 Fix some type hints in interactions 2021-05-27 00:53:14 -04:00
AXVin
2ad2cab50c [Interactions] Create User only when in DMs 2021-05-27 00:53:14 -04:00
Rapptz
cc800796a2 Properly guard for DMs in interaction creation
Fix #6794
2021-05-27 00:53:14 -04:00
Rapptz
98570793e4 Add initial support for buttons and components 2021-05-27 00:53:13 -04:00
Rapptz
a31c19563f Add interaction related typings 2021-04-08 02:12:55 -04:00
Rapptz
8cece19b22 Add on_interaction event and Interaction class.
This is the first pass at the functionality. It's currently a bit
incomplete.
2021-04-06 01:11:36 -04:00