Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

feat: add support for getting a threads message #598

Merged
merged 2 commits into from
Aug 14, 2022
Merged

Conversation

LordOfPolls
Copy link
Member

@LordOfPolls LordOfPolls commented Aug 11, 2022

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

Allows a user to easily access the parent message for a thread, or the child thread of a message.

Changes

  • Determine parent message on thread create
  • Add parent_messsage property to threads
  • Add thread property to message

Checklist

  • I've formatted my code with Black
  • I've ensured my code works on Python 3.10.x
  • I've tested my code

@LordOfPolls LordOfPolls added the New Feature::Library A new feature for the library label Aug 11, 2022
@LordOfPolls LordOfPolls linked an issue Aug 11, 2022 that may be closed by this pull request
Copy link

@xCraith xCraith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested message.thread and it works perfectly as requested!

@LordOfPolls LordOfPolls merged commit 6faa36b into dev Aug 14, 2022
@LordOfPolls LordOfPolls deleted the thead-message branch August 14, 2022 09:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
New Feature::Library A new feature for the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Add Thread Support for Components
3 participants