i'm writing a bot using javascript and the telegram module, I want my bot to have an ascii table, but I couldn't manage it, whenever I try, the text doesn't come out correctly, please help, my codes are here
this is the text that comes out
this my code
const telegraf = require('telegraf');
const ascii = require("ascii-table")
const bot = new telegraf('6251987336:AAFoBle4XdeZMchWbgZj4ryFQLvk4_QBbtw');
const startext = require('./textercommand/startext.json');
const AsciiTable = require('ascii-table/ascii-table');
console.log("https://github.com/Mars0J",
"Coded BY MARS")
bot.on(async (ctx) => {
await ctx.reply('hello ' + ctx.from.first_name + '!')
})
bot.start(async (ctx) => {
var { AsciiTable3, AlignmentEnum } = require('ascii-table3');
var table =
new AsciiTable3('')
.setHeading('Projekt Mars V1.0 ║ Parametreler')
.setStyle('unicode-double')
.setAlign(AlignmentEnum.AUTO)
.addRowMatrix([
['/sorgu -tc * '],
[' '],
]);
await ctx.reply(table.toString())
})
i want it to be like this this like
I would be very glad if you could help me with this, thank you in advance, my friends
is there no one to help?
ineed help ???