<commit_before>const { Markup } = require('telegraf');
const { Scene } = require('telegraf-flow');
const { scrobbleAlbum } = require('../helpers/scrobbler');
const { findUserByIdAndUpdate } = require('../helpers/dbmanager');
const { error } = require('../helpers/utils');


const editAlbumScene = new Scene('edit_album');

editAlbumScene.enter(async (ctx) => {
  const tracks = ctx.user.album.tracks;
  return ctx.editMessageText(`Edit the tracklist and send it back to me:\n\n${tracks.map(track => track.name).join('\n')}`,
    Markup.inlineKeyboard([
      Markup.callbackButton('Cancel', 'CANCEL'),
    ]).extra());
});
<commit_msg>Split editAlbum response in two different messages<commit_after>const { Markup } = require('telegraf');
const { Scene } = require('telegraf-flow');
const { scrobbleAlbum } = require('../helpers/scrobbler');
const { findUserByIdAndUpdate } = require('../helpers/dbmanager');
const { error } = require('../helpers/utils');


const editAlbumScene = new Scene('edit_album');

editAlbumScene.enter(async (ctx) => {
  const tracks = ctx.user.album.tracks;
  await ctx.editMessageText('Edit the tracklist and send it back to me:');
  ctx.reply(`${tracks.map(track => track.name).join('\n')}`,
    Markup.inlineKeyboard([
      Markup.callbackButton('Cancel', 'CANCEL'),
    ]).extra());
});

{'fraction_non_alphanumeric': 0.18347232752084913, 'fraction_numerical': 0.0, 'mean_word_length': 4.866666666666666, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2608292', 'n_tokens_mistral': 421, 'n_tokens_neox': 412, 'n_words': 85}