diff --git a/src/bot/commands/task.ts b/src/bot/commands/task.ts index 7b5c898..99abe20 100644 --- a/src/bot/commands/task.ts +++ b/src/bot/commands/task.ts @@ -14,7 +14,7 @@ function formatTaskList(tasks: any[]) { }).join('\n'); } -export function handleTaskCommand(body: string, sender: string, groupId: string, linkedGroups: Set) { +export async function handleTaskCommand(body: string, sender: string, groupId: string, linkedGroups: Set) { if (groupId && linkedGroups.has(groupId)) { if (body.startsWith('/tarea')) { const command = body.replace('/tarea', '').trim();