Compare commits

..

2 Commits

Author SHA1 Message Date
justuser-31 e7751829ff Add: requirements and gitignore 2026-06-11 09:29:20 +00:00
justuser-31 4c3263af28 Fix: small changes 2026-06-11 09:29:20 +00:00
3 changed files with 12 additions and 6 deletions
+3
View File
@@ -0,0 +1,3 @@
__pycache__
*.json
+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)
+2
View File
@@ -0,0 +1,2 @@
xxhash
pytelegrambotapi