Zomatree
b48f510e15
Add invite targets for voice channel invites
4 years ago
Rapptz
f321efd4de
Default SelectOption.value to the label if not given
4 years ago
Rapptz
b84c199c70
Allow constructing SelectOption.emoji from a string as well
4 years ago
Rapptz
c475218112
Typehint Role and RoleTags
4 years ago
Rapptz
35bef7af38
Fix Role.is_assignable() computing Guild.me twice
4 years ago
Rapptz
f4fe247813
Remove __slots__ from View
4 years ago
TheOneMusic
9ba5745e68
Check for guild owner in Role.is_assignable()
4 years ago
Rapptz
ef9f61a933
Add support for select components
4 years ago
Rapptz
6874aa73c4
Add PartialEmoji.from_str helper
4 years ago
Rapptz
ff36aedf7b
Add support for reading SelectMenu components from messages
4 years ago
Rapptz
8bd17ede47
Move ActionRow to its own separate type split from Component
4 years ago
Rapptz
aeb2cfb573
Add private get_slots utility to get slots through MRO
4 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.
4 years ago
Rapptz
3f60997630
Add a timeout callback for detecting when a View times out
4 years ago
Rapptz
97f308d219
Add View.remove_item and View.clear_items
4 years ago
Rapptz
3453992ce6
Add View.interaction_check for interaction pre-conditions
4 years ago
Tyler
6c8f1ccbdf
Add Role.is_assignable()
4 years ago
Rapptz
65db814d4a
Add a way to wait for a view to finish its interactions
4 years ago
MrKomodoDragon
77ed476129
Fix extraneous colons in the documentation for ButtonStyle
4 years ago
Zomatree
6cc3e572ba
Button labels can be None
4 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.
4 years ago
Rapptz
1954861668
Add warning for comparing with role positioning
4 years ago
Rapptz
fc64ffdabd
Allow passing multiple embeds in InteractionResponse.edit_message
4 years ago
Rapptz
fbafe20e51
Allow View to be instantiated without subclassing
4 years ago
Rapptz
c89882441c
Fix typings for resolved channels in slash commands
4 years ago
Rapptz
7584834dd4
Only automatically defer if no response was given in callback
4 years ago
Rapptz
3b83f60b35
Add support for setting interaction responses
4 years ago
Rapptz
85758a75b3
Add interaction related endpoints to async webhook
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
5e96ad9261
Force button style to link if a URL is passed
4 years ago
Rapptz
80fd222ca0
Add aliases for button style colours
4 years ago
Rapptz
eda6680377
Rename enums to use official API naming
4 years ago
Rapptz
cc800796a2
Properly guard for DMs in interaction creation
Fix #6794
4 years ago
Rapptz
ed9badcddf
Make Item and Button generic over the underlying view
4 years ago
Rapptz
4c0ebc9221
Change the way callbacks are defined to allow deriving
This should hopefully make these work more consistently as other
functions do.
4 years ago
Rapptz
cc56f31bcd
Fix emoji not showing up in button component
4 years ago
Rapptz
98570793e4
Add initial support for buttons and components
4 years ago
Mikey
f42e922696
Fix bug in Embed.__len__ caused by footer without text
4 years ago
Rapptz
f56543df15
[commands] Remove function call indirection when checking author
4 years ago
Stanisław Jelnicki
67aabc3230
Remove VerificationLevel aliases
4 years ago
Tari
36cf3c94b4
[commands] Remove Bot.self_bot
4 years ago
numbermaniac
3b55573777
Fix minor typo in typing() docs
4 years ago
Imayhaveborkedit
ac061c31fb
Fix default hook signature
Since the hook function can be both bound and unbound
the bound signature needs to accept an extra argument
4 years ago
Rapptz
3c90f16bf0
Fix cached_slot_property typings again
4 years ago
pikaninja
3cb093c709
Add a note about overwriting in set_permissions
4 years ago
Stanisław Jelnicki
65439732b3
Add Discord Certified Moderator user flag
4 years ago
Nadir Chowdhury
f87eaa613d
[docs] typo fix
4 years ago
apple502j
5acb3a62f8
Fix Webhook example
4 years ago
Imayhaveborkedit
8e08bd6af2
Add vws message hook
4 years ago