This commit is contained in:
NAME
2026-05-15 11:18:03 +00:00
parent 7730c76e08
commit 6b4f09640f
36 changed files with 631 additions and 78 deletions
@@ -2,8 +2,8 @@ import {Action, Command, Ctx, On, Wizard, WizardStep} from "nestjs-telegraf";
import {WIZARD_COMMENT2_SCENE_ID} from "../telegram.constants";
import * as scenes from "telegraf/scenes";
import {ManagerService} from "../../manager/manager.service";
import {ANGLE_HINTS_TELEGRAM_BUTTON} from "../../content-writer/enum/angle.enum";
import {get_TONE_HINTS_TELEGRAM_BUTTON} from "../../content-writer/prompts/templates";
import {get_ANGLE_HINTS_TELEGRAM_BUTTON} from "../../content-writer/enum/angle.enum";
@Wizard(WIZARD_COMMENT2_SCENE_ID)
export class Comment2Wizard {
@@ -105,6 +105,7 @@ export class Comment2Wizard {
(ctx.wizard.state as any).tone = tone;
// @ts-ignore
const inline_keyboards = [];
const ANGLE_HINTS_TELEGRAM_BUTTON = get_ANGLE_HINTS_TELEGRAM_BUTTON(tone!);
Object.keys(ANGLE_HINTS_TELEGRAM_BUTTON).map(key => {
// @ts-ignore
inline_keyboards.push([{