forked from Rapptz/discord.py
-
Notifications
You must be signed in to change notification settings - Fork 1
Merged with main #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
parelite
wants to merge
239
commits into
parelite:master
Choose a base branch
from
Rapptz:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Merged with main #10
Changes from all commits
Commits
Show all changes
239 commits
Select commit
Hold shift + click to select a range
b207c8a
[commands] Add perms object param to default_permissions decorator
codeofandrin 2087564
Fix MessageReferenceType not being public
z03h 5734996
Fix soundboard sounds event data type
Rapptz 442ad40
[commands] Add SoundboardSoundConverter
z03h ca85782
[commands] Fix Context.defer unconditionally deferring
Rapptz 9da131e
Fix variance typing issue with CommandTree.error decorator
PythonCoderAS b0c66b7
Fix NameError in sku.py
Soheab c5e7406
[commands] Unwrap Parameter if given as default to commands.parameter
Soheab 354ae42
Fix abc.GuildChannel.clone implementations
Soheab c8ecbd8
Add Message.forward flag
diceroll123 e94fb45
Add note about using venvs on Linux
Rapptz a0b0a97
Support enforce_nonce and add random nonce for message creation
Rapptz ed61588
Handle improper 1000 closures by Discord
Rapptz d08fd59
Avoid returning in finally
mikeshardmind af75985
Fix incorrect import
diceroll123 c7305b0
[commands] Respect enabled kwarg for hybrid app commands
Soheab 814ce3c
Add command target to MessageInteractionMetadata
Soheab 7db879b
Clear up add_roles and remove_roles documentation
MajorTanya 5c4c281
Sanitize invite argument before calling the invite info endpoint
Rapptz e1b6310
Remove / from being safe from URI encoding when constructing paths
Rapptz 7f95357
Add mention property to PartialMessageable
Soheab 9806aeb
Add public method to get session start limits
mikeshardmind fcd9239
Add Client.fetch_guild_preview method
gingershaped bb5a470
Bump Sphinx to 5.3.0
LevBernstein f2aa0b8
[tasks] Fix race condition with set_result
mikeshardmind eb15aa8
Add exclude_deleted parameter to Client.entitlements
DA-344 6214942
Fix SessionStartLimits and SKU.subscriptions docstrings
DA-344 9dc8e27
Add ForumChannel.members property
LostLuma ed95f2f
Parse full message for raw message edit event
Soheab 7c8503f
Fix callable FlagConverter defaults on hybrid commands
DA-344 1646471
Revert "Bump Sphinx to 5.3.0"
Rapptz 55974eb
Fix MessageSnapshot sticker_items typo
vionya cf6d7ff
Fix bug due to typo in async pagination of entitlements loop
AbstractUmbra 1537102
Temporary dependency for docs extra on python 3.13+
mikeshardmind fa1cc00
Return new instance in Poll.end to avoid inconsistencies
nthnwj 1edec93
Update Member.timed_out_until docstring
scrazzz 2c3938d
Update Client.create_application_emoji docs
tom-jm69 7db3911
Add __repr__ to Interaction
owocado d956058
[commands] Fix _fallback attr not being set on replace for Parameter
AbstractUmbra d5c80b6
Add optional dev dependencies
Soheab b1b7369
Added scopeless kwarg to discord.utils.oauth_url
Depreca1ed 743ef27
[commands] Correct ExtensionNotFound error message
Soheab ff2ad34
Add support for multiple subscription tier SKUs
DA-344 afbbc07
Add support for poll result messages
DA-344 418a791
Add raw presence update evemt
EvieePy db7b2d9
Change default file size limit
mikeshardmind 88d7bd1
Fix message_pin, message_unpin target id being None
iyad-f 7f51136
Fix wait_for overloads
Soheab a8134df
Fix Embed type attribute ddocs link
MajorTanya 42e4a87
Fix typo in voice server update state handling
dolfies 52967ec
Fix path sanitation for absolute Windows paths
tailoric 76eb126
Add 'mention' property in PartialWebhookChannel
Gooraeng 8a95c01
Add support for embed flags and update attachment flags
DA-344 4c3ce8f
Fix Member.roles having None members
Depreca1ed 8edf433
Implement rich role.move interface
LeoCx1000 6ab747f
Add support for sending views in stateless webhooks
DA-344 fa158a5
Add support for getting and editing integration_types_config applicat…
Soheab 5b78097
Add support for Interaction Callback Resource
DA-344 776fc22
[commands] Use interaction response within Context.send
Rapptz 1cdf710
Rename InteractionCallback to InteractionCallbackResponse
Rapptz 8953938
Update Pyright to v1.1.394
Rapptz 43e1c55
Remove with_response parameter documentation
Rapptz e8d571b
Add missing Poll attribute documentation
Rapptz 3ad0662
Document SoundboardSoundConverter
Rapptz a1aa597
Add changelog for v2.5
Rapptz e837ac1
Version bump to v2.5.0
Rapptz 2cf1bab
Version bump for development
Rapptz 4703234
Pass BotT type argument to DeferTyping
itswilliboy 0e4f061
Fix InteractionCallbackResponse.resource having incorrect state
DA-344 19f02c4
Document message types that can have a default message reference
Jackenmen a8b4eb1
Create ScheduledEvent on cache miss in SCHEDULED_EVENT_DELETE
dolfies 93426da
Improve on_timeout FAQ
Soheab 66f3548
Add defaults for message object parsing
dolfies fbe2b35
Add note about NotFound for Messageable.send
Rapptz de5720e
Fix attachment is_spoiler() and is_voice_message()
dolfies cab4732
Make embed flags required and add them to all media fields
dolfies 6b0a6ee
Add v2.5.1 changelog
Rapptz 73f261d
Version bump to v2.5.1
Rapptz 973bb50
Version bump for development
Rapptz 2f8b262
Fix improper class in audit log docs
LeoCx1000 8594dd1
Fix embed media flags regression
dolfies f4bce1c
Add changelog for v2.5.2
Rapptz d2a6ccf
Version bump to v2.5.2
Rapptz 460d188
Version bump for development
Rapptz 2685516
update PyNaCl minimum version dependency
rishitkhare 8d8d5e1
fix docs for soundboard_sound_update event
owocado 7f16a06
Copy Select options when creating View class
LeoCx1000 3e48119
Fix unreachable code not triggering privileged intent error
frxctura 0ce1154
Add discord.Permissions.apps()
Depreca1ed aa5f4bd
Fix poll parameter defaulting to MISSING instead of None for Context.…
Soheab 680fe9b
Add channel select to component type documentation
Tari-dev e84edf4
Add colours for new Discord themes
LeoCx1000 e177b4a
Fix EmbedMediaProxy boolean check
AbstractUmbra ef06d7d
Add Interaction.filesize_limit
LeoCx1000 b28a4a1
Fix potentially stuck ratelimit buckets
mikeshardmind adb93f4
Add deprecation warning to create_guild functions
Gooraeng 4a8817a
Document return object for Guild.create_template
Soheab 667e7c9
Fixed to_dict() bug for user-defined embed classes
cyberoby 2bcbd49
Add __repr__ method to various classes
owocado c524f65
Use human_join internal helper in BaseChannelTransformer
owocado 826aa22
Add platform key in __repr__ method for Game and Streaming
owocado fe942d1
Properly transform media channels in app commands
owocado d00c124
Add MessageApplication.__str__
owocado 4862ea2
Return invites when deleting them via Invite.delete or Client.delete_…
owocado f6e0f72
Add ability to create a media-only forum channel
Soheab 6af9de0
Ensure COPYING notice is included
mikeshardmind 7fe1102
Allow creating NSFW voice/stage channels
Soheab e9f807e
Fix Thread.applied_tags for media channels
owocado a62b25c
Add missing attributes in AppCommandChannel
owocado 20055e7
Fix calculation of hashed rate limit keys
dolfies 2175bd5
Fix voice connection issues and upgrade to voice v8
DA-344 59546a4
Add support for launch_activity interaction response
Joosemi02 774b934
Add support for guest invites
Soheab 2502a78
Add BCP47 unicode tags for Locale enum
exorcize cb73009
Add role parameters to support new gradient and holographic roles
makerze 66922cc
Fix documentation on Role secondary and tertiary colours
DA-344 b1be7de
Handle empty guild_ids list for app_commands
laggron42 a005109
Support new role colours in audit log
z03h 13dc9c9
Fix miswording in docstring about bot.emojis
Ken-Miles 7724764
Add ability to use primary guild (clan) data for users
blord0 0e97ef2
Fix key error on role create or delete
z03h 5f4a822
Add missing fill_with_flags decorator to InviteFlags class
Sacul0457 e715ad6
Add support for automod_quarantined_guild_tag member flag
Sacul0457 5b81a99
Fix error when sending non-interactive views via partial webhooks
Amjuks 22ade98
Skip GUILD_MEMBER_ADD if member already cached
tudubucket ce9f5ad
Fix context install decorators to correctly restrict commands
px1w 2695fa0
Fix guild_only app command decorator
owocado 348c7d7
Fix audit log automod_rule_trigger_type extra missing
AbstractUmbra 6e7fc13
Add support for new RPC Activity fields
Soheab 1cd90f8
[commands] Fix converters not working with Optional for hybrids
Soheab cb7f170
Deprecate Guild.delete and various parameters for Guild.edit
Soheab 4496df7
Fix crash in Activity.__init__ with missing keys
owocado 21fed31
Add FAQ about guild specific app commands
Soheab 7b3f798
Add support for guild onboarding
Soheab db42eba
Add more attributes to AppCommandChannel/Thread
Sacul0457 ec409a0
Guard AppCommandThread.guild attribute access
Rapptz 6ec2e53
Deprecate with_expiration param in fetch_invite
Sacul0457 50caa3c
Add support for components V2
DA-344 705eb2c
Update to support new pin endpoints
Soheab 439bd71
Upstream change in Python
mikeshardmind 8c18867
Don't recreate ItemCallbackType
Rapptz 9fb74fd
Remove unnecessary TypeGuard
Rapptz 3fb627d
Add support for label components and select in modals
Rapptz 38c6407
Maintain a reference to View dispatched tasks
Rapptz 773fcc8
Remove outdated note about having to delete owned guild
notSoti 4839036
Add missing guild features in types.guild
Sacul0457 1343259
Fix various docs around UI items
Soheab 983a9b8
Use Unpack where it's possible
Soheab 08ef967
Typecheck when constructing MediaGalleryItem
Rapptz 7e2ca02
Add total_message_sent attribute to threads
Sacul0457 4f539b7
Fix type errors in all examples
Rapptz 24d3a12
Remove unused row parameter from TextDisplay
Rapptz 4be15b5
Add example showcasing Container for Embed-like layouts
Rapptz 22d6e8d
Add example showcasing how to do a settings panel
Rapptz eb84d0d
Add example showcasing ui.Label in modals
Rapptz 2a69ac4
Document difference between View and LayoutView
Rapptz 5887ce1
Fix settings example not resetting option default state
Rapptz 9ef5b05
Refactor total children count to an overrideable method
Rapptz 98d2113
Hide interaction_check where it isn't really applicable
Rapptz 4854c56
Allow discord.File in places where UnfurledMediaItem or str are allowed
Rapptz 0c98251
Move Locale.language_code documentation to where it belongs
Rapptz 6f6d990
Fix type error with ItemCallbackType
Rapptz 76258d0
Add note for File.uri and ASCII only names
Rapptz 13d1fbe
Add more detail to what filenames are allowed in File.uri
Rapptz e00bb0b
Change info directive to note
Rapptz f08c042
Add content_length method to LayoutView and container items
Rapptz 064cb7a
Add View.total_children_count
Rapptz fc12a41
Run black
Rapptz 5d49f11
Remove View.from_dict typing
Rapptz 714df2c
Add changelog for v2.6
Rapptz 9845a53
Version bump to v2.6.0
Rapptz 1bc330a
Version bump for development
Rapptz d58c055
Remove unused import
Rapptz 3ef6272
Fix error with View.from_message when having multiple items
Rapptz 44a44e9
Reformat entire project with ruff instead of black
Rapptz ad48815
Add Permissions.pin_messages
Rapptz a5a4bcf
Update Permissions.manage_messages docstring
Rapptz 9dbf13c
Document Section.accessory as an attribute
Rapptz 24aa98b
Fix Section.children and accessory's parent being None
DA-344 283ed20
Use List[Component] in docs instead of spelling them all out
Rapptz 8f83267
Move UnfurledMediaItem and MediaGalleryItem to interactions page
Rapptz 27d69e9
Fix note in button decorator in action row
Sacul0457 59e28af
Fix Section.accessory being MISSING
Rapptz 20f4bc4
Remove outdated comment
Rapptz d897027
Create .git-blame-ignore-revs
Sachaa-Thanasius b2aab86
Add typing-extensions to lint workflow
diceroll123 0309aac
Add a swap method for dynamic item's dispatching
DA-344 9bda89b
Update total count tracking to always consider the wrapper object
Rapptz 0b7d30b
Fallback to None for AuditLogAction.category
Rapptz de09031
Allow TextDisplay as a top-level component in modals
Rapptz 6d50130
Flip if statement for wrapped ActionRow components in modals
Rapptz d00ac62
Remove uses of deprecated Logger.warn method
Rapptz ab6efd0
[tasks] Log handled exceptions before sleeping
Rapptz fe7ce98
Add second generic parameter for view for DynamicItem
Rapptz bb45e05
Change Modal inheritance to BaseView instead of View
Rapptz 753db17
Add changelog for v2.6.1
Rapptz 9677dad
Fix Modal not raising when hitting the 5 item limit
Rapptz 63357e0
Revert "Add second generic parameter for view for DynamicItem"
Rapptz 50b0d21
Add missing versionadded to some BaseView items
lmaotrigine 91281f2
Add Set Voice Channel Status permission
Jackenmen d5946d1
Fix bounds for TextInput and Label generic
Rapptz 69f06c9
Fix Select.required not being applied
z03h cbff6dd
Add support for user collectibles
Soheab 7c52dbd
Fix spelling mistake in LabelComponent slots
Sacul0457 116107d
Add accessory to Section.__repr__
Rapptz 2f1f5fe
Revert "Fix context install decorators to correctly restrict commands"
Rapptz 89d5cbd
Move v2 item check from BaseView to View
Rapptz 6c4f8c4
Add changelog for v2.6.2 and v2.6.3
Rapptz 25a4dbe
Remove id from LabelComponent.__repr__
Rapptz 1e165ee
Update docs for on_user_update to mention primary_guild
blord0 44956db
Update modal example in docstring
Sacul0457 3f47698
All __all__ to primary_guilds module
diceroll123 a7f3494
Upgrade code by using f-strings and yield from
Luc1412 fe4bf87
Add channel attribute to automod quarantine user AuditLogAction
Sacul0457 bd329b1
Add support for emoji_added message type
diceroll123 a2a2281
Fix various TypeDicts for Unpack
Soheab b837d94
Add silent parameter to ForumChannel.create_thread
martinbndr a2a00ae
Fix unordered list rendering for several AuditLogAction entries
AbstractUmbra 6ad5541
Add missing InviteType and ReactionType exports
LeviPesin 46300df
Add missing reason kwarg in delete_invite
Sacul0457 c050ed0
Support new fields in Modify Current Member
Sacul0457 78ff166
Fix certain component IDs not being able to be settable afterwards
Rapptz 830858c
Add MessageType.is_deletable to fix Messageable.purge failing
Rapptz 1d3642d
Fix KeyError on custom_id for modal components that don't support it
Soheab 944ffe9
Handle resolved data for modal components and types
Soheab 2d7e061
Add support for File Upload component
Soheab 178ea66
Add missing required kwarg to all select classes
Soheab d786362
Correct supported types in docs for modal components
Soheab 8f90b7d
Add shoutout to Button and Thumbnail accessories for Section
Rapptz c7575d9
Fix docstrings for version added in Member.edit
Sacul0457 651699f
Remove buggy and unintentional Container.children setter
Rapptz 88294fe
Fix Section.accessory setter not updating view bindings
Rapptz e2b6fa8
Use obj reference target instead of data for typing objects
Rapptz 463becb
Use compression.zstd for gateway compression on Python 3.14
beer-psi be3e332
Add v2.6.4 changelog
Rapptz 6d19bc7
[commands] Fix flag annotations not working under 3.14
Rapptz 9c327df
Use webp as the default emoji URL format
Rapptz c58b973
Add animated=true parameter to animated emoji
Rapptz ab8195b
Add support for role member counts
Rapptz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Replace Black with Ruff, then format whole project. | ||
44a44e938fb2bd0bb085d8aa4577abeb01653ad3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
include README.rst | ||
include LICENSE | ||
include requirements.txt | ||
include discord/bin/*.dll | ||
include discord/bin/* | ||
include discord/py.typed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
issue (typo): "A Virtual Environment" should start with a lowercase "a".