Update customize

This commit is contained in:
Lucas Gabriel 2024-06-02 15:32:36 +00:00
parent f92cbcf3ad
commit 44760b8e21

View File

@ -1,21 +1,21 @@
module.exports = function(bot, msg) {
const chatId = msg.chat.id;
const chatId = msg.chat.id;
const opts = {
reply_to_message_id: msg.message_id,
reply_markup: {
resize_keyboard: true,
one_time_keyboard: true,
keyboard: [
[{text: 'He/Him'}],
[{text: 'She/Her'}],
[{text: 'They/Them'}],
],
}
};
const opts = {
reply_to_message_id: msg.message_id,
reply_markup: {
resize_keyboard: true,
one_time_keyboard: true,
keyboard: [
[{text: 'He/Him'}],
[{text: 'She/Her'}],
[{text: 'They/Them'}],
],
}
};
const message = "Select your pronouns:";
const message = "Select your pronouns:";
bot.sendMessage(chatId, message, opts,{ parse_mode: 'Markdown' })
.catch(error => console.error('WARN: Message cannot be sent: ', error));
bot.sendMessage(chatId, message, opts,{ parse_mode: 'Markdown' })
.catch(error => console.error('WARN: Message cannot be sent: ', error));
}