Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thread updates #358

Merged
merged 4 commits into from
Aug 3, 2021
Merged

Thread updates #358

merged 4 commits into from
Aug 3, 2021

Conversation

HopeBaron
Copy link
Member

  • Moves the list active thread endpoint to the guild service.
  • Adds Thread audit log related entries.

Changes from: discord/discord-api-docs#3502

@HopeBaron HopeBaron changed the base branch from 0.7.x to 0.8.x August 3, 2021 09:36
@HopeBaron HopeBaron requested a review from BartArys August 3, 2021 09:36
@@ -33,7 +34,7 @@ interface ThreadParentChannelBehavior : TopGuildMessageChannelBehavior {
* [terminal operators](https://kotlinlang.org/docs/reference/coroutines/flow.html#terminal-flow-operators) instead.

*/
val activeThreads: Flow<ThreadChannel> get() = supplier.getActiveThreads(id)
val activeThreads: Flow<ThreadChannel> get() = guild.activeThreads.filter { it.parentId == id }
Copy link
Contributor

Choose a reason for hiding this comment

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

if you're delegating calls to other entities, you should make sure they're using the same supply strategy

@HopeBaron HopeBaron merged commit 35893aa into 0.8.x Aug 3, 2021
@HopeBaron HopeBaron deleted the thread-updates branch October 7, 2021 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants