MCPcopy Create free account
hub / github.com/Botloader/botloader / getMany

Function getMany

components/runtime/src/ts/scheduled_tasks.ts:135–142  ·  view source on GitHub ↗
(options?: ListOptions)

Source from the content-addressed store, hash-verified

133 *
134 */
135 export async function getMany(options?: ListOptions): Promise<ScheduledTask[]> {
136 const tasks = await OpWrappers.tasks.getAllTasks({
137 namespace: options?.namespace ?? null,
138 scope: { kind: "Guild" },
139 }, options?.afterId ?? 0);
140
141 return tasks.map(v => convertInternalTask(v))
142 }
143
144 export interface ListOptions {
145 /**

Callers

nothing calls this directly

Calls 1

convertInternalTaskFunction · 0.85

Tested by

no test coverage detected