Rapptz
a8177dd5bd
Document starter message requirements in ForumChannel.create_thread
2023-01-18 07:11:49 -05:00
Rapptz
cbc46e0973
Add support for ForumChannel.default_layout
2023-01-10 16:43:18 -05:00
Rapptz
887ddbb4b6
Fix implicit permission resolution for Thread
...
Fix #9153
2022-12-29 07:17:41 -05:00
rdrescher909
9b6753f3b4
Add VocalGuildChannel.slowmode_delay
2022-12-14 19:08:30 -05:00
rdrescher909
039d588447
Add ForumChannel.get_thread
2022-12-14 19:06:37 -05:00
Jonah Lawrence
d7b6a2ad12
Fix usage of single backticks to links and code-blocks
2022-10-26 04:26:56 -04:00
ster
95b6bd8782
Add coro tag to docstrings that were missing it
2022-10-02 17:52:18 -04:00
Jakub Kuczys
6725f329b2
Set thread related perms in private channels to False
2022-10-01 03:14:03 -04:00
z03h
686071814b
Add Forum.archived_threads
2022-09-18 19:22:21 -04:00
Vioshim
46d194df57
Fix passing None to ForumTag.emoji constructor
2022-09-17 14:12:34 -04:00
Steve C
ce06beeb6c
Fix permissions-based docstrings to be more consistent
2022-09-17 14:07:39 -04:00
z03h
c854ee2978
Fix default_thread_slowmode_delay
2022-09-15 19:29:21 -04:00
Ionite
6981eb69c4
Normalize type formatting in TypeError
...
Normalize most mixed usages of `__class__`, `__class__!r`,
`__class__.__name__!r` to the standard form of
`__class__.__name__`
2022-09-12 15:25:55 -04:00
Evan J. Markowitz
e04af033c0
Add applied_tags to ForumChannel.create_thread to match Thread.edit
2022-09-03 12:01:41 -04:00
Rapptz
fdebe069a6
Change ForumTag.emoji to be optional
2022-09-03 00:23:07 -04:00
Rapptz
40b91f0e2a
Remove TextChannel.default_thread_slowmode_delay
...
This doesn't have meaning on text channels apparently
2022-09-01 04:52:44 -04:00
Rapptz
ab265dcb7c
Add support for newest ForumChannel changes
...
This adds the following:
- Forum tag support
- Default reaction support
- Default slowmode for newly created threads
2022-08-31 11:09:56 -04:00
mirnovov
5039b967a0
Document get_thread not fetching archived threads
2022-08-16 16:59:20 -04:00
Rapptz
6381b5a8f4
Change abc.GuildChannel.overwrites to have Object keys if cache failed
...
Ultimately despite it not being the prettiest, Object keys ended up
being the sanest solution to this without destroying ergonomics.
2022-08-06 14:46:52 -04:00
zephyrkul
9fe19dcc69
[commands] Add Context.permissions and Context.bot_permissions
2022-07-04 21:48:36 -04:00
Rapptz
5de9287902
Change abc.PrivateChannel to be a proper subclass
...
This fixes isinstance(thread, discord.abc.PrivateChannel) from
returning True
2022-07-04 05:48:02 -04:00
Rapptz
96e6261d61
Change default for purge oldest_first to match history
2022-06-13 04:54:08 -04:00
Alex Nørgaard
6a58cabf5c
Add Guild.create_forum and CategoryChannel.create_forum
2022-06-09 00:56:31 -04:00
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.
2022-06-06 08:56:04 -04:00
Rapptz
259c6733a3
Add webhook creation methods to ForumChannel
2022-05-31 18:15:54 -04:00
Rapptz
b7ac0a02ca
Fix documentation of PartialMessageable.jump_url
2022-05-03 10:57:51 -04:00
Rapptz
c22b6dc2cd
Add guild property to DMChannel, GroupChannel, and PartialMessageable
...
This improves generic duck typing programming by allowing narrowing
the types by just checking for a None guild attribute.
2022-05-03 10:55:29 -04:00
Rapptz
8699d2139a
Improve generic duck type programming with PartialMessageable
...
This adds jump_url, permissions_for, and created_at. Luckily, most
cases of this type being constructed already have the guild_id at
creation time.
2022-05-03 10:49:52 -04:00
Rapptz
7f210c90f4
Return a named tuple with message from ForumChannel.create_thread
2022-05-01 19:32:11 -04:00
Rapptz
0851e03f00
Allow creating a news channel in create_text_channel
2022-04-30 07:12:16 -04:00
Rapptz
06df0d7931
Address latest breaking change in creating forum posts
2022-04-29 12:39:12 -04:00
Rapptz
9e3375f3fc
Fix infinite recursion in TextChannel.type
2022-04-29 10:00:33 -04:00
Lilly Rose Berner
7ee15e1d68
Use typing.Literal for channel and component type annotation
2022-04-29 06:07:22 -04:00
lightningyx
19fb8ac447
Add narrowed overloads for edit methods on channels
2022-04-19 16:46:38 -04:00
Omkaar
348764583d
Add jump_url property to channels
2022-04-12 00:23:15 -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
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
Rapptz
3ef8f77e81
Add proper nsfw support for vocal guild channels
2022-04-03 07:50:10 -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
2aca705b95
Add support for sending messages and managing webhooks in VoiceChannel
2022-04-02 11:14:03 -04:00
Rapptz
def035bf9a
Remove StoreChannel and any references to it
2022-03-28 00:09:19 -04:00
jack1142
5ffa3e85de
Update comments after # type: ignore
to be compatible with PEP 484
2022-03-27 22:26:34 -04:00
I. Ahmad
4dc24a005a
Fix typo in PartialMessageable docstring
2022-03-20 04:11:35 -04:00
jack1142
d55f8d38ad
Add PartialMessageable.__repr__
2022-03-20 02:58:29 -04:00
Rapptz
caf1c6eae4
Fix overload in StoreChannel
2022-03-16 00:13:39 -04:00
Stocker
5aa696ccfa
Fix typing issues and improve typing completeness across the library
...
Co-authored-by: Danny <Rapptz@users.noreply.github.com>
Co-authored-by: Josh <josh.ja.butt@gmail.com>
2022-03-13 23:52:10 -04:00
chromacoat dreamkey
095aaa9ad1
Change wording of InvalidArgument removal in docs
2022-03-11 23:25:43 -05:00
thetimtoy
a877b269da
Remove unused Object import
2022-03-11 21:16:35 -05:00