add emoj in top10 and replace emoj in dick minus
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pavel_Duron 2022-11-26 00:32:24 +10:00
parent 7a02dad330
commit 3662e02958

24
bot.py
View File

@ -54,7 +54,7 @@ async def ident(message: types.Message):
numb = randint(-7,10)
global size_change, dick_plus, dick_minus
dick_plus = f'<b>вырос</b> 🚀 на <b>{numb}</b> см!'
dick_minus = f'<b>уменьшился</b> на <b>{abs(numb)}</b> см!😔'
dick_minus = f'<b>уменьшился</b> на <b>{abs(numb)}</b> см!'
if numb > 0:
size_change = dick_plus
else: size_change = dick_minus
@ -120,17 +120,17 @@ async def send_time(message: types.Message):
top = session.query(user.user_fullname, user.dick_size).order_by(user.dick_size.desc()).limit(10).all()
delimiter = ': '
await bot.send_message(message.chat.id, f'<u>Топ пипис!</u>\n\n\
<b>1.</b> {delimiter.join(map(str, top[0]))}\n\
<b>2.</b> {delimiter.join(map(str, top[1]))}\n\
<b>3.</b> {delimiter.join(map(str, top[2]))}\n\
<b>4.</b> {delimiter.join(map(str, top[3]))}\n\
<b>5.</b> {delimiter.join(map(str, top[4]))}\n\
<b>6.</b> {delimiter.join(map(str, top[5]))}\n\
<b>7.</b> {delimiter.join(map(str, top[6]))}\n\
<b>8.</b> {delimiter.join(map(str, top[7]))}\n\
<b>9.</b> {delimiter.join(map(str, top[8]))}\n\
<b>10.</b> {delimiter.join(map(str, top[9]))}\n')
await bot.send_message(message.chat.id, f'<u>🏆Топ 10 бубылд🏆</u>\n\n\
🚀 {delimiter.join(map(str, top[0]))}\n\
💫 {delimiter.join(map(str, top[1]))}\n\
🍆 {delimiter.join(map(str, top[2]))}\n\
🍌 {delimiter.join(map(str, top[3]))}\n\
🐍 {delimiter.join(map(str, top[4]))}\n\
🐎 {delimiter.join(map(str, top[5]))}\n\
🌭 {delimiter.join(map(str, top[6]))}\n\
🌶 {delimiter.join(map(str, top[7]))}\n\
👌 {delimiter.join(map(str, top[8]))}\n\
💩 {delimiter.join(map(str, top[9]))}\n')
session.close_all()
@dp.message_handler(commands=['start'])