mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-16 19:28:17 +00:00
fix: bad channel.thread handling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { editChannel } from "../edit_channel.ts";
|
||||
import { editThread } from "./edit_thread.ts";
|
||||
|
||||
/** Sets a thread channel to be unarchived. */
|
||||
export function unarchiveThread(threadId: bigint) {
|
||||
return editChannel(threadId, { archived: false });
|
||||
return editThread(threadId, { archived: false });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user