Daniel Diaz
1f053e0a32
[commands] Document argument attribute in BadInviteArgument
3 years ago
Soheab
e73a805bd7
Add missing data to Argument model
3 years ago
Josh
c9f777c873
Fix type annotations to adhere to latest pyright release
3 years ago
Rapptz
334ef1d7fa
Add support for discord.abc.GuildChannel annotations in app commands
3 years ago
Rapptz
d19faa5f32
Raise an exception when wait_until_ready is called without a loop
3 years ago
Soheab
3cb90199c9
Remove private legacy cruft from AppCommand models
- Document `options` for AppCommand
- Remove `choices` and `required` from AppCommandGroup
- Rename `arguments` to `options` since it can include `AppCommand` and `AppCommandGroup`.
3 years ago
Soheab
dd52f856f3
Use static_format over format if present in Asset.replace
3 years ago
Kile
66a97c6655
Fix typings of deaf and mute in PartialMember
3 years ago
Enes Kurbetoğlu
be6db20255
Add on_raw_thread_member_remove event
3 years ago
Alex Nørgaard
6a58cabf5c
Add Guild.create_forum and CategoryChannel.create_forum
3 years ago
will
ae51d5849a
Fix typos in AppCommandPermissions attributes doc
3 years ago
Rapptz
377dde4e4e
Change app command permission models guild to not be None
3 years ago
Steve C
98ca16ef67
Tweak wording for "less than" Range error
Keeping it consistent!
3 years ago
Soheab
3aa55ba1ed
Implement Application Command Permissions models
3 years ago
Jakub Kuczys
4e7529138c
[commands] Properly use Optional's default value on parsing error
3 years ago
Rapptz
75d57ab3ce
Fix warning in entity_type reassignment
3 years ago
Rapptz
3fe9fc92eb
Automatically infer entity_type when passing concrete channels
This affects Guild.create_scheduled_event and ScheduledEvent.edit
Previously, you would always be required to pass it in. However, it
makes sense to not repeat yourself if you already know it's a stage
channel or a voice channel due to the type information.
3 years ago
Rapptz
9df6aa86c8
Fix state modification endpoints on ScheduledEvent not working
Closes #8114
3 years ago
Rapptz
d1039e209e
Skip default parameter validation when using a transformer
Fixes #8110
3 years ago
will
f6a74f74a7
Fix typo in CommandTree.fetch_command's NotFound doc
3 years ago
Enes Kurbetoğlu
06c1f44d74
Add on_raw_thread_update event
3 years ago
Soheab
af265dba06
Add CommandTree.fetch_command
3 years ago
Nickyux
823d650e97
Update comments in CommandTree to reflect commands v2
3 years ago
Andy
6a4d5eef52
Fix documentation errors in discord.Invite and on_integration_update
3 years ago
nickofolas
59ebfefbf4
Use __getitem__ to access channel_id in MessageReference payloads
3 years ago
Rapptz
e543abd950
Add support for new thread_name parameter in Webhook.send
3 years ago
Rapptz
259c6733a3
Add webhook creation methods to ForumChannel
3 years ago
Rapptz
0b026b1283
Elaborate on rename decorator behaviour
3 years ago
Rapptz
36f039a1bf
[commands] Fix interaction baton not being set during Context creation
3 years ago
Harshal Laheri
67066937c5
Add return type for __init__ and _from_data
3 years ago
I. Ahmad
f82ec46acf
Use json_or_text helper for parsing webhook responses
3 years ago
Sebastian Law
f24f34e3f1
Remove unused internal bot_token attribute
3 years ago
z03h
53694724c1
Add emoji property to SelectOption
3 years ago
Rapptz
4c74523794
Fix versionadded docstrings in voice connect methods
3 years ago
Rapptz
cf031f71b9
Add a new extlink for discord documentation
3 years ago
Rapptz
081f483a0d
Fix tree not properly accounting for override when checking limits
3 years ago
Sebastian Law
f19f51f771
Use positional args for internal thread methods
3 years ago
apple502j
69b4d9a4fa
Fix exception description of WelcomeScreen.edit
3 years ago
apple502j
4cbe8f58e1
Fix parameter docs of WelcomeScreen.edit
3 years ago
zephyrkul
78a026aae2
Add remaining bitwise operators to Flags
3 years ago
Rapptz
77baa06a99
Fix bug in permission resolution when dealing with timed out members
This would lead to timed out members having the read_messages
permission set to True instead of False
3 years ago
Rapptz
3dddddc8f9
[commands] Change Context.typing to defer for interaction contexts
3 years ago
Rapptz
ee71366f72
Fetch application_info on login
This allows users to no longer pass application_id when calling sync
inside setup_hook
3 years ago
Rapptz
06c43d6772
[commands] Add support for NSFW commands for hybrid commands
3 years ago
Rapptz
573b2121b7
Add support for NSFW application commands
Of course, this somehow doesn't work with subcommands
3 years ago
Rapptz
a47396b21e
[commands] Change guild_only check to set guild_only in hybrid commands
3 years ago
Nadir Chowdhury
e2d0193531
Implement WelcomeScreen
3 years ago
Nanashi
2bb7ed2092
Retry on 524 status code
3 years ago
Rapptz
7905d63f7c
Reword missing annotation error to be a bit clearer
3 years ago
Rapptz
93e1ff5f07
Change aiohttp object construction to no longer take loop objects
3 years ago