owocado
978636d8a3
Add view_creator_monetization_analytics permission
1 year ago
Rapptz
615701481c
Standardize Permission constants as padded binary u64
Should make it easier to know how and where to modify the bits
2 years ago
Rapptz
829eb0b106
Slightly improve performance of constructing Permissions using kwargs
2 years ago
Josh
2b19c78e6c
Add create_event permission
2 years ago
dolfies
01dfde9648
Add helper for checking if an application has a bot
2 years ago
Rapptz
29aa8973ef
Rename Permissions.manage_guild_expressions to manage_expressions
2 years ago
Andrin S
83d8510533
Add create_expressions permission
2 years ago
Jakub Kuczys
fc07af5777
Document the change in behaviour of bool(flag_obj)
2 years ago
Andrin S
f066597a02
Add support for voice messages
Co-authored-by: Danny <[email protected] >
2 years ago
dolfies
6309c617db
Changed upstream versionadded to 2.0
2 years ago
Andrin S
76dc2ed018
Add use_external_sounds permission
2 years ago
Andrin S
204b7eabdc
Add new use_soundboard and manage_guild_expressions permissions
2 years ago
Jakub Kuczys
4367a9afd3
Set thread related perms in private channels to False
3 years ago
zephyrkul
d241e61e63
Add remaining bitwise operators to Flags
3 years ago
invalid-user
3f19b8e982
Rename use_slash_commands to use_application_commands
Co-authored-by: Danny <[email protected] >
3 years ago
dolfies
8fcca3183a
Rebase to latest upstream
3 years ago
dolfies
29c2036bc8
Rebase to latest upstream
3 years ago
Rapptz
b0501e56a0
Fix PermissionOverwrite.update typing not allowing None
3 years ago
Stocker
fd5dea4e34
Update Permissions.stage_moderator
3 years ago
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
Co-authored-by: Danny <[email protected] >
Co-authored-by: Josh <[email protected] >
3 years ago
Rapptz
4c8b1f9abd
Remove unused imports
3 years ago
Rapptz
45dc3d3df9
Rename start_embedded_activities to use_embedded_activities
3 years ago
Josh
147948af9b
Use typing.Self throughout library
3 years ago
Rapptz
88b520b5ab
Reformat code using black
Segments where readability was hampered were fixed by appropriate
format skipping directives. New code should hopefully be black
compatible. The moment they remove the -S option is probably the moment
I stop using black though.
3 years ago
Maya
a1dbc0ca27
Add member timeouts and relevant permissions
3 years ago
dolfies
750a63ac43
Fix small typing issue
3 years ago
dolfies
0e1810c27e
Add timeout_members permission alias
3 years ago
dolfies
8e23a2a287
Add missing permissions and flags
3 years ago
James Gayfer
41d22f4312
Fix all_channel permissions
When the new permission for send_messages_in_threads was added, we added
the wrong bit. Instead of adding the bit as the most significant (37),
we added it as the last significant, which invalidated most of the
permissions defined by this method.
4 years ago
James Gayfer
4aafa39e8c
Update thread permissions
Discord has renamed / repurposed "Use Public Threads" and "Use Private
Threads", as well as added a new permission "Send Messages in Threads".
For more information, see:
https://github.com/discord/discord-api-docs/pull/3672
4 years ago
apple502j
851dfc3c75
Fix permissions.py typing
4 years ago
Rapptz
4a6670c062
Add missing typehint for PermissionOverwrite.pair
Technically inferred but better to be explicit
4 years ago
z03h
27debe18ca
Update Permissions classmethods to include thread/stage/sticker
4 years ago
Nadir Chowdhury
60d82cf908
implement guild stickers
4 years ago
Rapptz
be5603141e
Remove slots from flags
Fix #7159
4 years ago
Rapptz
88620d052a
Typehint permissions
4 years ago
Rapptz
5a72391b72
Add thread related permissions
4 years ago
Rapptz
598057ee79
Add Permissions.manage_events
4 years ago
Rapptz
9d39b135f4
Modernize code to use f-strings
This also removes the encoding on the top, since Python 3 does it by
default. It also changes some methods to use `yield from`.
4 years ago
Nadir Chowdhury
1b2688518e
Implement StageChannel and related methods
4 years ago
Rapptz
3576e2ee01
Add support for Permissions.request_to_speak
4 years ago
Nadir Chowdhury
7d345e8e4e
remove trailing whitespace
4 years ago
TheOneMusic
259c3909a8
Fix Permissions.all_channel documentation to link attributes
4 years ago
TheOneMusic
9c52432274
Update permission class methods to match Discord UI
4 years ago
Rapptz
a8f44174ba
Add Permissions.use_slash_commands
4 years ago
Nihaal Sangha
69bdc3a184
Change copyright year to present
4 years ago
Rapptz
1c03a4aac9
Evict keys when they're set to None in PermissionOverwrite
Fixes #5929
5 years ago
apple502j
0ebf5b2fa7
Add support for flag alias
5 years ago
Michael
93fa46713a
Fix and add documentation
5 years ago
Skezza
c3bca7ec73
Documentation formatting
5 years ago