|
|
@ -14,7 +14,7 @@ function formatTaskList(tasks: any[]) {
|
|
|
|
}).join('\n');
|
|
|
|
}).join('\n');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export function handleTaskCommand(body: string, sender: string, groupId: string, linkedGroups: Set<string>) {
|
|
|
|
export async function handleTaskCommand(body: string, sender: string, groupId: string, linkedGroups: Set<string>) {
|
|
|
|
if (groupId && linkedGroups.has(groupId)) {
|
|
|
|
if (groupId && linkedGroups.has(groupId)) {
|
|
|
|
if (body.startsWith('/tarea')) {
|
|
|
|
if (body.startsWith('/tarea')) {
|
|
|
|
const command = body.replace('/tarea', '').trim();
|
|
|
|
const command = body.replace('/tarea', '').trim();
|
|
|
|