U
This commit is contained in:
@@ -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([{
|
||||
|
||||
Reference in New Issue
Block a user