Fix: small changes

This commit is contained in:
2026-06-11 09:26:45 +00:00
parent 1375e30547
commit 4c3263af28
+2 -1
View File
@@ -334,6 +334,7 @@ def welcome(message):
db = read_db()
bot.reply_to(message, f'''Приветственное сообщение:
\n{db[str(message.chat.id)]}''', parse_mode='HTML')
print(db[str(message.chat.id)])
except Exception as e:
catch_error(message, e)
@@ -379,7 +380,7 @@ def delete(message):
def pin(message):
try:
if have_rights(message):
bot.pin_chat_message(message.chat.id, message.reply_to_message.id)
bot.pin_chat_message(message.chat.id, message.reply_to_message.id, disable_notification=False)
except:
catch_error(message, e)