22 Commits

Author SHA1 Message Date
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