Variable strings in JSON object

This commit is contained in:
Luquinhas 2025-01-13 00:03:32 -03:00
parent 698f5eb6a0
commit 52f3f643c1
No known key found for this signature in database
GPG key ID: D9B075FC6DC93985
5 changed files with 34 additions and 30 deletions

View file

@ -52,7 +52,7 @@ module.exports = (bot) => {
disable_web_page_preview: true,
reply_markup: JSON.stringify({
inline_keyboard: [
[{ text: Strings.varBack, callback_data: 'helpBack' }],
[{ text: Strings.varStrings.varBack, callback_data: 'helpBack' }],
]
})
};