Fixed bot update logic again
This commit is contained in:
parent
6ba348ed83
commit
aa0b4830e3
3 changed files with 4 additions and 4 deletions
|
@ -107,8 +107,8 @@ module.exports = (bot) => {
|
|||
const Strings = getStrings(ctx.from.language_code);
|
||||
handleAdminCommand(ctx, async () => {
|
||||
try {
|
||||
const updateMessage = await updateBot();
|
||||
await ctx.reply(Strings.botUpdated.replace('{updateMessage}', updateMessage), {
|
||||
const result = await updateBot();
|
||||
await ctx.reply(Strings.botUpdated.replace('{result}', result), {
|
||||
parse_mode: 'Markdown',
|
||||
reply_to_message_id: ctx.message.message_id
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue