feat: finalizing threads

This commit is contained in:
Skillz4Killz
2021-06-18 00:02:54 +00:00
committed by GitHub
parent c63d5b9aeb
commit a7d11bf7bb
8 changed files with 53 additions and 5 deletions
@@ -0,0 +1,6 @@
import { editChannel } from "../edit_channel.ts";
/** Sets a thread channel to be unarchived. */
export function unarchiveThread(threadId: bigint) {
return editChannel(threadId, { archived: false });
}