Compare commits

...

10 Commits

Author SHA1 Message Date
Pavel_Durov
dea7805dff новый год сука
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-22 19:11:51 +03:00
Pavel_Durov
40abc7065d add poitive random for first user (69)
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 22:44:03 +03:00
Pavel_Durov
c02458b209 add poitive random for first user (69)
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 22:34:39 +03:00
fe64756bc4 #DICKBOT-1 Done
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 11:30:43 +10:00
6923cd2aa8 Update 'README.md'
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 11:28:25 +10:00
b73468c73f Update 'README.md'
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 11:24:38 +10:00
671c39be27 d
All checks were successful
continuous-integration/drone/push Build is passing
d
2023-06-20 11:23:56 +10:00
b9813528b1 Add 'README.md'
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-20 11:22:59 +10:00
293d90fb29 Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-19 08:57:33 -04:00
9432f67ada Update '.drone.yml'
All checks were successful
continuous-integration/drone/push Build is passing
2023-06-19 08:57:15 -04:00
4 changed files with 23 additions and 2 deletions

View File

@@ -20,6 +20,12 @@ steps:
- cd /usr/share/$DRONE_REPO_NAME - cd /usr/share/$DRONE_REPO_NAME
- git pull - git pull
- chown -R jack:jack . - chown -R jack:jack .
when:
branch:
- main
- name: restart systemd unit - name: restart systemd unit
commands: commands:
- systemctl restart jack_bot - systemctl restart jack_bot
when:
branch:
- main

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
Пробуем проверять что-либо.
```mermaid
journey
title Пиписа
section Наш Чат
Оче больше пипис: 5: Алексей
Обычно большепенис: 3: Догоняющие
Скромный дик: 1: Отставшие
section Не наш чат
Не запустил: -1: Отставшие
Не крутил: 1: Отставшие
```

View File

@@ -66,6 +66,8 @@ async def up_dick(message: types.Message):
else: else:
session.close() session.close()
try: try:
numb = randint(1,10)
int_table = user(user_id = message.from_user.id, user_fullname = message.from_user.full_name, dick_size = numb, datetimes = datetime.datetime.now(),\ int_table = user(user_id = message.from_user.id, user_fullname = message.from_user.full_name, dick_size = numb, datetimes = datetime.datetime.now(),\
chat_id = message.chat.id) chat_id = message.chat.id)
@@ -74,7 +76,7 @@ async def up_dick(message: types.Message):
session.commit() session.commit()
session.close() session.close()
await bot.send_message(message.chat.id, f'@{message.from_user.username}, ваш писюн {size_change}\n\ await bot.send_message(message.chat.id, f'@{message.from_user.username}, ваш писюн показал головку 🚀\n\
на <b>{abs(numb)}</b> см!\n\ на <b>{abs(numb)}</b> см!\n\
Теперь он равен <b>{numb}</b> см!') Теперь он равен <b>{numb}</b> см!')
except: except:

View File

@@ -4,7 +4,7 @@ import datetime
@dp.message_handler(commands=["time"]) @dp.message_handler(commands=["time"])
async def send_time(message: types.Message): async def send_time(message: types.Message):
new_year = datetime.datetime(2022, 12, 31) #дата нового года new_year = datetime.datetime(2024, 12, 31) #дата нового года
ct = datetime.datetime.now() #датавремя ct = datetime.datetime.now() #датавремя
cd = datetime.datetime.now().strftime("%d/%m/%Y") #дата (д,м,г) cd = datetime.datetime.now().strftime("%d/%m/%Y") #дата (д,м,г)
ct1 = ct+datetime.timedelta(hours=15) # +14 часов от сервера ct1 = ct+datetime.timedelta(hours=15) # +14 часов от сервера