|
|
|
|
@ -472,7 +472,7 @@ export class CommandService {
|
|
|
|
|
if (items.length === 0) {
|
|
|
|
|
return [{
|
|
|
|
|
recipient: context.sender,
|
|
|
|
|
message: `No hay pendientes en ${groupName}.`
|
|
|
|
|
message: italic(`No hay pendientes en ${groupName}.`)
|
|
|
|
|
}];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -520,7 +520,7 @@ export class CommandService {
|
|
|
|
|
byGroup.set(key, arr);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const sections: string[] = [];
|
|
|
|
|
const sections: string[] = [bold('Tus tareas')];
|
|
|
|
|
for (const [groupId, arr] of byGroup.entries()) {
|
|
|
|
|
const groupName =
|
|
|
|
|
(groupId && GroupSyncService.activeGroupsCache.get(groupId)) ||
|
|
|
|
|
@ -935,7 +935,7 @@ export class CommandService {
|
|
|
|
|
if (!m) {
|
|
|
|
|
return [{
|
|
|
|
|
recipient: context.sender,
|
|
|
|
|
message: 'Uso: `/t configurar diario|l-v|semanal|off [HH:MM]`'
|
|
|
|
|
message: 'ℹ️ Uso: `/t configurar diario|l-v|semanal|off [HH:MM]`'
|
|
|
|
|
}];
|
|
|
|
|
}
|
|
|
|
|
const hh = Math.max(0, Math.min(23, parseInt(m[1], 10)));
|
|
|
|
|
@ -945,7 +945,7 @@ export class CommandService {
|
|
|
|
|
if (!freq) {
|
|
|
|
|
return [{
|
|
|
|
|
recipient: context.sender,
|
|
|
|
|
message: 'Uso: `/t configurar diario|l-v|semanal|off [HH:MM]`'
|
|
|
|
|
message: 'ℹ️ Uso: `/t configurar diario|l-v|semanal|off [HH:MM]`'
|
|
|
|
|
}];
|
|
|
|
|
}
|
|
|
|
|
const ensured = ensureUserExists(context.sender, this.dbInstance);
|
|
|
|
|
|