Rapptz
89d24cb0bc
Add interaction enums to __all__
5 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.
5 years ago
Rapptz
4a3491cc0a
Check for view finished state before resuming listening on edit
5 years ago
Rapptz
8dafe4f544
Add support for editing in views in PartialMessage
5 years ago
Rapptz
2ed3e049e1
Add View.is_finished() to query listening state
5 years ago
Rapptz
61a189c217
Sync views in InteractionResponse.edit_message
5 years ago
Nadir Chowdhury
9f98a9a87f
Implement StageInstance
5 years ago
Rapptz
90a28d48d5
Fix potential KeyError when removing views
5 years ago
Rapptz
7b1c57ed60
Add support for interaction followups
5 years ago
Rapptz
2ebd5315f9
Add support for sending and editing views in Webhook
5 years ago
Rapptz
c9cdb47338
Add __repr__ for View
5 years ago
Rapptz
db58e628ba
Allow Webhook.send to send ephemeral messages
This is only available for application webhooks
5 years ago
Rapptz
267fad9180
Add WebhookType.application
5 years ago
Rapptz
c6f3ed1af4
Allow sending View with Interaction.response.send_message
This also allows for ephemeral views and listening to said views
5 years ago
Rapptz
1b15772671
Allow assigning Select.options to refresh the select menu
5 years ago
Rapptz
02c317d9a4
Fix Message.edit typings to take View parameters
5 years ago
Rapptz
7bd1211b36
Rework item grouping behaviour to take into consideration weights
This also renames `group` into `row`
5 years ago
Rapptz
695662416a
Fix Messageable.send overload to take view parameters
5 years ago
Rapptz
c21d12be5e
Check future state before setting result in View
5 years ago
Rapptz
d78e5d979d
Refactor and type hint invites
5 years ago
Rapptz
5a68d3a561
Typehint AllowedMentions
5 years ago
Rapptz
5a9cbc967b
Typehint mixins
5 years ago
Rapptz
794327cdb4
Fix type errors with required keys in the integration types
5 years ago
Rapptz
1ae40a11b7
Fix some type errors in StreamIntegration.edit
5 years ago
Rapptz
06743dd434
Make StreamIntegration.role a property rather than a strong reference
5 years ago
Rapptz
732c5384fd
Allow registering a View for persistent long term dispatching
5 years ago
Maya
4d7822493f
Add support for bot integrations
5 years ago
Rapptz
7e1f8bf1b4
Typehint Sticker
5 years ago
Michael H
52678b2eb5
[commands] Add Command.extras
5 years ago
Zomatree
b48f510e15
Add invite targets for voice channel invites
5 years ago
Rapptz
f321efd4de
Default SelectOption.value to the label if not given
5 years ago
Rapptz
b84c199c70
Allow constructing SelectOption.emoji from a string as well
5 years ago
Rapptz
c475218112
Typehint Role and RoleTags
5 years ago
Rapptz
35bef7af38
Fix Role.is_assignable() computing Guild.me twice
5 years ago
Rapptz
f4fe247813
Remove __slots__ from View
5 years ago
TheOneMusic
9ba5745e68
Check for guild owner in Role.is_assignable()
5 years ago
Rapptz
ef9f61a933
Add support for select components
5 years ago
Rapptz
6874aa73c4
Add PartialEmoji.from_str helper
5 years ago
Rapptz
ff36aedf7b
Add support for reading SelectMenu components from messages
5 years ago
Rapptz
8bd17ede47
Move ActionRow to its own separate type split from Component
5 years ago
Rapptz
aeb2cfb573
Add private get_slots utility to get slots through MRO
5 years ago
Rapptz
263f45d05b
Fix View.wait not returning when it times out
This also makes it so it returns the reason why the wait finished.
5 years ago
Rapptz
3f60997630
Add a timeout callback for detecting when a View times out
5 years ago
Rapptz
97f308d219
Add View.remove_item and View.clear_items
5 years ago
Rapptz
3453992ce6
Add View.interaction_check for interaction pre-conditions
5 years ago
Tyler
6c8f1ccbdf
Add Role.is_assignable()
5 years ago
Rapptz
65db814d4a
Add a way to wait for a view to finish its interactions
5 years ago
MrKomodoDragon
77ed476129
Fix extraneous colons in the documentation for ButtonStyle
5 years ago
Zomatree
6cc3e572ba
Button labels can be None
5 years ago
Michael H
1bf782fcb5
Add Member.get_role
Adds an efficient way to check if a member has a role by ID.
This is done in a way consistent with the existing user API of the
library.
The more debated Member.has_role_id/has_role is intentionally not
included for review at this time given the heavy bikeshedding of it.
5 years ago