-
Notifications
You must be signed in to change notification settings - Fork 33
✨ Added 12 endpoints to Channel
#337
Conversation
…`get_thread_member` and `list_thread_members` to Channel
…ivate_archived_threads` and `list_joined_private_archived_threads` to Channel
Codecov Report
@@ Coverage Diff @@
## main #337 +/- ##
==========================================
+ Coverage 90.00% 90.54% +0.54%
==========================================
Files 9 8 -1
Lines 100 74 -26
==========================================
- Hits 90 67 -23
+ Misses 10 7 -3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing default values (|default| data:...
) in many places in the docstrings, please update that :]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All async functions should have |coro|
in the 0th line of the docstring. This is the same line where the triple quotes begin.
Co-authored-by: trag1c <77130613+trag1c@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some typing stuff and maybe missing 2 await?
Can you run black over all the files commit |
Co-authored-by: Yohann Boniface <edhyjox@gmail.com> Co-authored-by: trag1c <77130613+trag1c@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also the class thing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
way better!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets speedrun merging this 🚀
Co-authored-by: trag1c <77130613+trag1c@users.noreply.github.com>
I was thinking that it would probably be better to place all the thread related methods into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Don't merge yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Changes
adds
:Thread
class, whichPrivateThread
andPublicThread
will inherit from.Thread
:start_with_message
start
join
add_member
leave
remove_member
get_member
list_members
Channel
:list_active_threads
list_public_archived_threads
list_private_archived_threads
list_joined_private_archived_threads
Check off the following