diff --git a/src/helpers/channels/threads/get_active_threads.ts b/src/helpers/channels/threads/get_active_threads.ts index 3fdab5f69..45ab33513 100644 --- a/src/helpers/channels/threads/get_active_threads.ts +++ b/src/helpers/channels/threads/get_active_threads.ts @@ -6,6 +6,9 @@ import { requireBotChannelPermissions } from "../../../util/permissions.ts"; export async function getActiveThreads(channelId: bigint) { await requireBotChannelPermissions(channelId, ["READ_MESSAGE_HISTORY"]); + // TODO: pagination?? seriously doubt discord will send thousands of threads at once + // TODO: max limits? + // TODO: v12 map the result to a nice collection, check what it returns return await rest.runMethod("get", endpoints.THREAD_ACTIVE(channelId)); }