Vioshim
4ce60b4cac
Documented Embed limits in docstrings
2022-04-08 21:53:08 -04:00
Narmy
723584ca19
Add Permissions.elevated()
2022-04-07 10:42:57 -04:00
Rapptz
30cc00c9a4
Explicitly specify public threads when creating them in forums
...
The endpoint seems to fail otherwise
2022-04-06 23:27:27 -04:00
Rapptz
a8b26b9257
Allow pinning a thread using Thread.edit
2022-04-06 23:21:17 -04:00
Rapptz
92eb9d7d8e
Fix documentation for ChannelFlags.pinned
2022-04-06 23:06:58 -04:00
Rapptz
67a58d10ae
Change Fetch -> Retrieve for last_message documentation
2022-04-06 23:02:58 -04:00
Rapptz
23f6876492
Add initial support for forum channels
...
Closes #7652
2022-04-06 23:02:58 -04:00
Willy
bc91e1667f
Fix typo in Member.timeout docs
2022-04-06 22:11:54 -04:00
Willy
b8ae05f59f
[commands] Fix missing ctx in example
2022-04-06 19:24:17 -04:00
Rapptz
f07885973f
Provide callback name where applicable in validation
...
Fix #7850
2022-04-06 08:57:04 -04:00
apple502j
ad478ff2da
[docs] Update PrivilegedIntentsRequired docs
2022-04-06 04:26:36 -04:00
apple502j
f77078278a
Update system_content for channel_follow_add message
2022-04-06 02:08:20 -04:00
Alex Nørgaard
0263774e13
Remove the use of ! in the Member.mention property
2022-04-06 01:05:37 -04:00
Rapptz
abeea73734
Fix remaining things not explicitly passing the intents kwarg
2022-04-05 23:15:40 -04:00
Rapptz
b32b78de45
[commands] Fix missing or inferred type hints in parameters.py
2022-04-05 22:47:21 -04:00
Rapptz
76cc2c2272
Require passing intents to Client and its subclasses
2022-04-05 22:32:14 -04:00
Vish M
7770972041
A small grammar fix app_commands.context_menu
...
This just makes it so it adheres with the rule that `an` goes
before a word that begins with a vowel.
2022-04-05 11:01:55 -04:00
Rapptz
c68ea67213
Properly handle inheritance overriding in View subclasses
2022-04-05 09:41:48 -04:00
Rapptz
629f36e7d7
[commands] Add fallback behaviour to the default parameter instances
...
This allows users to explicitly override the default annotation for
CurrentAuthor and CurrentChannel since they're wider than what most
users would expect
2022-04-05 06:40:31 -04:00
Rapptz
f15f601779
[commands] Check if an application command starts with bot_ or cog_
2022-04-05 06:06:35 -04:00
Rapptz
b823a4bab1
[commands] Only update annotation if an explicit override is given
2022-04-05 06:02:28 -04:00
Rapptz
c582940401
Remove ancient IDENTIFY key that is no longer used
2022-04-05 05:22:00 -04:00
Rapptz
dbcdf69eb1
[commands] Raise appropriate exception for no guild found
2022-04-04 21:49:11 -04:00
Rapptz
8b50ac8a31
[commands] Don't set a converter for the defaults provided
2022-04-04 21:47:03 -04:00
Rapptz
66155faf00
[commands] Fix documentation not being properly formatted
2022-04-04 18:10:43 -04:00
James Hilton-Balfe
55c5be78cf
[commands] Implement commands.parameter
2022-04-04 18:01:21 -04:00
Josh
deb7958797
Add new on_thread_create event
2022-04-04 07:22:21 -04:00
Rapptz
b561024163
Fix WebhookState not handling reaction emoji
...
Fix #7842
2022-04-04 00:49:36 -04:00
Rapptz
907d5e0ee7
Document Forbidden exception in CommandTree.sync
2022-04-03 22:57:54 -04:00
Rapptz
1458251736
Change View.children to be a property
...
This allows users to call remove_item in a loop. Likewise, it prevents
the footgun of doing children.append(...) which does not uphold the
invariants with the weight system.
2022-04-03 20:13:42 -04:00
UltimateSppy765
d5d9a532b2
Update docs to reflect Text in Voice related changes
2022-04-03 17:40:51 -04:00
Rapptz
58db635229
Fix parameter validation in Guild.query_members
2022-04-03 08:07:01 -04:00
Rapptz
3ef8f77e81
Add proper nsfw support for vocal guild channels
2022-04-03 07:50:10 -04:00
UltimateSppy765
3378435bf0
Update abc.Messageable docs to show VoiceChannel
2022-04-03 06:32:40 -04:00
Josh
20d2ab96e8
Fix check for when autocomplete is overridden
2022-04-03 05:36:57 -04:00
Josh
151948a09a
Add autocomplete method to Transformers
...
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
2022-04-03 02:32:16 -04:00
jack1142
86de926678
Print help when no args are provided to python -m discord
2022-04-03 01:20:55 -04:00
Puncher
18050aecd7
Fix broken code blocks in docstrings
2022-04-02 17:57:33 -04:00
Puncher
0dbebf87b2
Fix TextChannel.archived_threads docstring
2022-04-02 16:21:55 -04:00
Rapptz
298bd7492c
Run pyright as part of the CI process
...
This doesn't do verifytypes yet due to a bug in Pyright
2022-04-02 11:47:34 -04:00
Rapptz
52e16573f5
Remove unused imports and make exports explicit
...
This allows Pyright to actually catch these errors, which would be
useful for CI purposes in the future.
2022-04-02 11:38:39 -04:00
Rapptz
f7a79ff8d7
Avoid calling PartialMessage.__init__ in Message.__init__
...
This prevents Message creation from crashing due to the public
interface's type checks potentially breaking future compatibility.
2022-04-02 11:15:54 -04:00
Rapptz
2aca705b95
Add support for sending messages and managing webhooks in VoiceChannel
2022-04-02 11:14:03 -04:00
Rapptz
b049cf77f2
Add reason to Thread.delete_messages and Thread.purge
2022-04-02 10:36:39 -04:00
Rapptz
994660faad
[commands] Fix unknown generic type in tree_cls
2022-04-02 05:53:33 -04:00
Kellen
0f18d93e47
Remove unused imports
2022-04-02 04:58:39 -04:00
Josh
01e2c69b20
Add tests for validating command signature mismatch error handling
2022-04-02 04:57:05 -04:00
Josh
d600436378
[types] Use PEP-655 style Required/NotRequired types
2022-04-02 01:46:10 -04:00
will
b1878224f2
Fix capitalizations and typo in migrating guide
2022-04-02 01:26:39 -04:00
Rapptz
7696342d76
Add missing __slots__ to MessageInteraction
2022-04-02 01:24:56 -04:00