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
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
pikaninja
40bab465a5
Remove user account reference in docstring
2022-03-27 22:26:49 -04:00
Stocker
caf2000fe8
Add missing annotation for ThreadMember.id
2022-03-17 07:27:13 -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
Stocker
e491aa84e5
Fix typo in Thread.remove_user
2022-03-05 23:17:37 -05:00
Josh
4dbe1af32f
Update sphinx and fix documentation issues
2022-02-19 22:35:32 -05:00
jack1142
dc19c6c7d5
Add positional-only arguments in more places
2022-02-19 20:28:01 -05:00
Kowlin
7f54c45886
Add Thread.created_at
2022-02-18 05:20:26 -05:00
jack1142
9a6b2fa402
Add Thread.fetch_member
...
See: discord/discord-api-docs#3998
2022-02-17 11:26:41 -05:00
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
2021-08-26 15:53:21 -04:00
Josh
d2ea33e5e9
Add support for invitable thread option
2021-08-26 15:52:07 -04:00
Rapptz
490bbffc93
Remove in-place edits and return fresh instances instead
...
Fixes #4098
2021-08-23 23:46:50 -04:00
Stocker
b5a717fb80
Fix missing typehint that causes an error for a type checker
2021-08-19 20:19:24 -04:00
Rapptz
68453c7bed
Add Thread.members and Thread.fetch_members
2021-08-18 01:58:16 -04:00
Willy
8b148afabd
Update description of auto_archive_duration kwarg of Thread.edit
2021-07-31 19:40:17 -04:00
Arthur
8db79d2579
Add Thread.category
2021-07-30 21:27:10 -04:00
Nadir Chowdhury
906c13d4f0
Set Thread.member/message_count
2021-07-28 20:00:30 -04:00
z03h
48eb981344
Fix Thread.slowmode_delay not updating
2021-07-21 02:47:15 -04:00
Steve C
834e23dc00
Fix type annotations for purge's limit param on Thread/TextChannel
...
Optional was missing.
2021-07-21 02:44:27 -04:00
Nadir Chowdhury
e2624b9a31
[commands] Fix (Partial)MessageConverter to work with thread messages
2021-07-10 03:11:34 -04:00
Alex Nørgaard
d1dc41ec2f
Fix Client.fetch_channel not returning Thread
2021-07-03 21:35:31 -04:00
Alex Nørgaard
b7b75e2b1f
Add Thread.is_nsfw
2021-07-03 00:14:48 -04:00
Rapptz
69c400d813
Add Thread.mention
2021-07-01 20:51:56 -04:00
Alex Liu
64b48431b4
Add type property to thread channels
2021-07-01 20:27:39 -04:00
Rapptz
485542c480
Fix typing linting error in threads
2021-06-29 02:26:07 -04:00
Lilly Rose Berner
fa6fa6a567
Add category_id shortcut to Thread
2021-06-09 08:21:45 -04:00
Lilly Rose Berner
2eb0ec07ab
Add __str__ method to Thread
2021-06-09 08:21:14 -04:00
Rapptz
746da7d54c
Add Thread.permissions_for helper function
2021-06-08 07:29:17 -04:00
Rapptz
5ae7940ec8
Add message purging functions to Thread
2021-06-08 07:29:17 -04:00
Rapptz
bd369c76ea
Parse remaining thread events.
2021-06-08 07:29:17 -04:00
Rapptz
9adf94e6b1
Add ThreadMember.thread
2021-06-08 07:29:17 -04:00
Rapptz
d0d2d7ea62
Clarify actions that require manage_threads permission
2021-06-08 07:26:22 -04:00
Rapptz
b9d8d3872e
Add __repr__ for the thread classes
2021-06-08 07:26:22 -04:00
Rapptz
429c5933d9
Add minor parsing for THREAD_LIST_SYNC and THREAD_MEMBER_UPDATE
...
There's no dispatch for these yet
2021-06-08 07:26:22 -04:00
Rapptz
a16f54afdb
Replace Ellipsis with utils.MISSING
2021-06-08 07:26:22 -04:00
Rapptz
a09f89cedf
Fix partial thread members
2021-06-08 07:26:22 -04:00
Rapptz
c6d09a8bfa
Add Thread.is_news()
2021-06-08 07:26:22 -04:00
Rapptz
4a4e73ec14
Update thread typings and payloads to match documentation
2021-06-08 07:26:18 -04:00
Rapptz
c1ce3b949f
Implement remaining HTTP endpoints on threads
...
I'm not sure if I missed any -- but this is the entire documented set
so far.
2021-06-08 07:25:30 -04:00
Rapptz
68c7c538f5
First pass at preliminary thread support
...
This is missing a lot of functionality right now, such as two gateway
events and all the HTTP CRUD endpoints.
2021-06-08 07:23:40 -04:00