Update get_active_threads.ts

This commit is contained in:
ITOH
2021-06-09 21:39:02 +02:00
parent 49f0dbb72f
commit 4ad3d1a359
@@ -6,6 +6,6 @@ import { requireBotChannelPermissions } from "../../../util/permissions.ts";
export async function getActiveThreads(channelId: bigint) {
await requireBotChannelPermissions(channelId, ["READ_MESSAGE_HISTORY"]);
// TODO: v12 map the result to a nice collection
// TODO: v12 map the result to a nice collection, check what it returns
return await rest.runMethod("get", endpoints.THREAD_ACTIVE(channelId));
}