upd neprivet, add avatar, rimshot

This commit is contained in:
Rykov7
2023-01-05 02:17:10 +03:00
parent 6fe153b714
commit d099ba7d2b
3 changed files with 3 additions and 2 deletions
+3 -2
View File
@@ -155,7 +155,8 @@ def send_nometa(message: types.Message):
@bot.message_handler(commands=['neprivet'])
def send_neprivet(message: types.Message):
send_or_reply(message, '<a href="https://neprivet.com/">Непривет</a>')
send_or_reply(message, '<a href="https://neprivet.com/">Непривет</a>\n'
'Пожалуйста, не пишите просто «Привет» в чате.')
@bot.message_handler(commands=['nojob'])
@@ -331,7 +332,7 @@ def handle_msg(message: types.Message):
else:
s['Messages'][message.from_user.id]['Count'] += 1
quote = stan.speak(30)
quote = stan.speak(50)
if quote:
threading.Thread(target=send_quote, args=(len(quote) * 0.13, message, quote)).start()